bb
This commit is contained in:
parent
2e6afa5c76
commit
4b460cc83a
2 changed files with 27 additions and 27 deletions
|
@ -437,8 +437,7 @@ def message2(v, username):
|
|||
g.db.add(notif)
|
||||
|
||||
if len(message) > 500: notifbody = message[:500] + '...'
|
||||
elif message: notifbody = message
|
||||
else: notifbody = ''
|
||||
else: notifbody = message
|
||||
|
||||
beams_client.publish_to_interests(
|
||||
interests=[f'{request.host}{user.id}'],
|
||||
|
@ -505,8 +504,7 @@ def messagereply(v):
|
|||
g.db.add(notif)
|
||||
|
||||
if len(message) > 500: notifbody = message[:500] + '...'
|
||||
elif message: notifbody = message
|
||||
else: notifbody = ''
|
||||
else: notifbody = message
|
||||
|
||||
beams_client.publish_to_interests(
|
||||
interests=[f'{request.host}{user_id}'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue