forked from rDrama/rDrama
fix this https://rdrama.net/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/3859093#context
parent
309ce6b7a5
commit
0b61725135
|
@ -191,6 +191,8 @@ def push_notif(uids, title, body, url_or_comment):
|
||||||
|
|
||||||
if isinstance(url_or_comment, Comment):
|
if isinstance(url_or_comment, Comment):
|
||||||
c = url_or_comment
|
c = url_or_comment
|
||||||
|
if c.is_banned: return
|
||||||
|
|
||||||
if c.wall_user_id:
|
if c.wall_user_id:
|
||||||
url = f'{SITE_FULL}/@{c.wall_user.username}/wall/comment/{c.id}?read=true#context'
|
url = f'{SITE_FULL}/@{c.wall_user.username}/wall/comment/{c.id}?read=true#context'
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue