From 07dc9ea7ca36e9df8e3526a01640d9ff85d3414a Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 8 Apr 2024 07:42:15 +0200 Subject: [PATCH] try adding a body --- files/routes/chat.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/files/routes/chat.py b/files/routes/chat.py index 9bb0ec211..884a7035f 100644 --- a/files/routes/chat.py +++ b/files/routes/chat.py @@ -163,9 +163,10 @@ def speak(data, v): g.db.add(membership) uids = set(x.user_id for x in memberships) - title = f'New chat messages in "{chat.name}"' + title = 'New chat messages' + body = f'in "{chat.name}"' url = f'{SITE_FULL}/chat/{chat.id}' - push_notif(uids, title, '', url) + push_notif(uids, title, body, url) data = { "id": chat_message.id,