forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2022-04-18 20:30:25 +02:00
parent 0e74b54424
commit 1e49e260cc
1 changed files with 1 additions and 1 deletions

View File

@ -1218,7 +1218,7 @@ def submit_post(v, sub=None):
for x in notify_users:
add_notif(cid, x)
if request.values.get('followers') and v.followers:
if (request.values.get('followers') or is_bot) and v.followers:
text = f"@{v.username} has made a new post: [{post.title}]({post.shortlink})"
if post.sub: text += f" in <a href='/h/{post.sub}'>/h/{post.sub}"