This commit is contained in:
Aevann1 2022-01-16 08:24:33 +02:00
parent 104b561828
commit 17588ce882

View file

@ -497,10 +497,10 @@ def messagereply(v):
g.db.add(new_comment)
g.db.flush()
if user_id != v.id:
notif = Notification(comment_id=new_comment.id, user_id=user_id)
g.db.add(notif)
if len(message) > 100: notifbody = message[:100] + '...'
else: notifbody = message