mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 16:28:01 -05:00
Allow promoted links on restricted subreddits.
This commit is contained in:
@@ -462,6 +462,8 @@ class Subreddit(Thing, Printable, BaseSite):
|
||||
return True
|
||||
elif self.type == 'gold_restricted' and user.gold:
|
||||
return True
|
||||
elif self.type == 'restricted' and promotion:
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user