mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 08:17:58 -05:00
Selftext promoted links need full url for click redirect.
This commit is contained in:
@@ -555,7 +555,7 @@ class Link(Thing, Printable):
|
||||
get_domain(cname=cname, subreddit=False),
|
||||
item._id36)
|
||||
|
||||
if item.is_self:
|
||||
if item.is_self and not item.promoted:
|
||||
item.href_url = item.permalink
|
||||
else:
|
||||
item.href_url = item.url
|
||||
|
||||
Reference in New Issue
Block a user