forked from rDrama/rDrama
bbfgdf
parent
dc8e268dd8
commit
7a3591b40d
|
@ -438,7 +438,7 @@ def message2(v, username):
|
||||||
else: notifbody = message
|
else: notifbody = message
|
||||||
|
|
||||||
beams_client.publish_to_interests(
|
beams_client.publish_to_interests(
|
||||||
interests=[str(user.id)],
|
interests=[f'{request.host}{user.id}'],
|
||||||
publish_body={
|
publish_body={
|
||||||
'web': {
|
'web': {
|
||||||
'notification': {
|
'notification': {
|
||||||
|
@ -454,7 +454,7 @@ def message2(v, username):
|
||||||
'body': notifbody,
|
'body': notifbody,
|
||||||
},
|
},
|
||||||
'data': {
|
'data': {
|
||||||
'url': f'notifications',
|
'url': 'notifications',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue