dfs
This commit is contained in:
parent
472a6dcca0
commit
bea4c446d6
1 changed files with 20 additions and 22 deletions
|
@ -494,7 +494,6 @@ def message2(v, username):
|
||||||
if len(message) > 500: notifbody = message[:500] + '...'
|
if len(message) > 500: notifbody = message[:500] + '...'
|
||||||
else: notifbody = message
|
else: notifbody = message
|
||||||
|
|
||||||
try:
|
|
||||||
beams_client.publish_to_interests(
|
beams_client.publish_to_interests(
|
||||||
interests=[f'{request.host}{user.id}'],
|
interests=[f'{request.host}{user.id}'],
|
||||||
publish_body={
|
publish_body={
|
||||||
|
@ -517,7 +516,6 @@ def message2(v, username):
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
except: pass
|
|
||||||
|
|
||||||
g.db.commit()
|
g.db.commit()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue