mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 00:07:57 -05:00
Fix bug 27: "link @ no longer orangered when hitting #1"
Note that we've been correctly calculating and storing them this whole time, we just haven't been properly rendering them
This commit is contained in:
@@ -243,7 +243,8 @@ class Link(Thing, Printable):
|
||||
|
||||
item.domain = (domain(item.url) if not item.is_self
|
||||
else 'self.' + item.subreddit.name)
|
||||
item.top_link = False
|
||||
if not hasattr(item,'top_link'):
|
||||
item.top_link = False
|
||||
item.urlprefix = ''
|
||||
item.saved = bool(saved.get((user, item, 'save')))
|
||||
item.hidden = bool(hidden.get((user, item, 'hide')))
|
||||
|
||||
Reference in New Issue
Block a user