Spaces:
Running
Running
andykr1k commited on
Commit ·
4c63003
1
Parent(s): b701a8e
Message send notification error
Browse files
main.py
CHANGED
|
@@ -187,7 +187,7 @@ def handle_message_update(event_payload):
|
|
| 187 |
title = 'Picturelock'
|
| 188 |
body = f'@{username} sent you a message!'
|
| 189 |
if token and user_id != author_id:
|
| 190 |
-
send_notification(title, body, token,
|
| 191 |
|
| 192 |
def handle_listreply_update(event_payload):
|
| 193 |
print('Received update in listreplies:')
|
|
|
|
| 187 |
title = 'Picturelock'
|
| 188 |
body = f'@{username} sent you a message!'
|
| 189 |
if token and user_id != author_id:
|
| 190 |
+
send_notification(title, body, token, author_id, id, "message")
|
| 191 |
|
| 192 |
def handle_listreply_update(event_payload):
|
| 193 |
print('Received update in listreplies:')
|