remotes/1693045480750635534/spooky-22
parent
915d36d319
commit
2b69077960
|
@ -586,7 +586,6 @@ def api_comment(v):
|
||||||
if len(c.body) > 500: notifbody = c.body[:500] + '...'
|
if len(c.body) > 500: notifbody = c.body[:500] + '...'
|
||||||
else: notifbody = c.body
|
else: notifbody = c.body
|
||||||
|
|
||||||
try:
|
|
||||||
beams_client.publish_to_interests(
|
beams_client.publish_to_interests(
|
||||||
interests=[f'{request.host}{parent.author.id}'],
|
interests=[f'{request.host}{parent.author.id}'],
|
||||||
publish_body={
|
publish_body={
|
||||||
|
@ -609,7 +608,6 @@ def api_comment(v):
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
except: pass
|
|
||||||
|
|
||||||
|
|
||||||
vote = CommentVote(user_id=v.id,
|
vote = CommentVote(user_id=v.id,
|
||||||
|
|
|
@ -562,7 +562,6 @@ def messagereply(v):
|
||||||
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={
|
||||||
|
@ -585,7 +584,6 @@ def messagereply(v):
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
except: pass
|
|
||||||
|
|
||||||
|
|
||||||
if new_comment.top_comment.sentto == 2:
|
if new_comment.top_comment.sentto == 2:
|
||||||
|
|
Loading…
Reference in New Issue