mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
Multi: Correctly return sr_ids for unloaded linked multis
This commit is contained in:
@@ -1927,6 +1927,8 @@ class LabeledMulti(tdb_cassandra.Thing, MultiReddit):
|
||||
# limit to max subreddit count, allowing a little fudge room for
|
||||
# cassandra inconsistency
|
||||
if self.is_symlink:
|
||||
if not getattr(self, '_linked_multi', None):
|
||||
self._linked_multi = LabeledMulti._byID(self.copied_from)
|
||||
return self.linked_multi.sr_columns
|
||||
|
||||
remaining = self.MAX_SR_COUNT + 10
|
||||
|
||||
Reference in New Issue
Block a user