Selftext promoted links need full url for click redirect.

This commit is contained in:
Brian Simpson
2013-08-20 12:42:32 -04:00
parent 4303841341
commit 0b7bc86ea4

View File

@@ -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