mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-29 16:58:21 -05:00
Loggedout users always get a promoted link in the spotlight.
This commit is contained in:
@@ -335,11 +335,13 @@ class HotController(FixListing, ListingController):
|
||||
if has_subscribed else
|
||||
'spotlight_interest_nosub_p']
|
||||
interestbar = InterestBar(has_subscribed)
|
||||
promotion_prob = 0.5 if c.user_is_loggedin else 1.
|
||||
|
||||
s = SpotlightListing(organic_links=organic_links,
|
||||
promoted_links=promoted_links,
|
||||
interestbar=interestbar,
|
||||
interestbar_prob=interestbar_prob,
|
||||
promotion_prob=promotion_prob,
|
||||
max_num = self.listing_obj.max_num,
|
||||
max_score = self.listing_obj.max_score).listing()
|
||||
return s
|
||||
|
||||
Reference in New Issue
Block a user