forked from MarseyWorld/MarseyWorld
fix 500 error
parent
dde19f7d85
commit
dc8f230ae4
|
@ -761,8 +761,8 @@ def messagereply(v):
|
||||||
g.db.delete(n)
|
g.db.delete(n)
|
||||||
|
|
||||||
if PUSHER_ID != 'blahblahblah' and not v.shadowbanned:
|
if PUSHER_ID != 'blahblahblah' and not v.shadowbanned:
|
||||||
if len(message) > 500: notifbody = message[:500] + '...'
|
if len(body) > 500: notifbody = body[:500] + '...'
|
||||||
else: notifbody = message
|
else: notifbody = body
|
||||||
|
|
||||||
beams_client.publish_to_interests(
|
beams_client.publish_to_interests(
|
||||||
interests=[f'{request.host}{user_id}'],
|
interests=[f'{request.host}{user_id}'],
|
||||||
|
|
Loading…
Reference in New Issue