fsd
This commit is contained in:
parent
d833e3916c
commit
aa7581a440
1 changed files with 1 additions and 1 deletions
|
@ -1218,7 +1218,7 @@ def submit_post(v, sub=None):
|
||||||
for x in notify_users:
|
for x in notify_users:
|
||||||
add_notif(cid, x)
|
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})"
|
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}"
|
if post.sub: text += f" in <a href='/h/{post.sub}'>/h/{post.sub}"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue