From 173f9e98530b54a8a61068c792d9f1898d92ef67 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 16 Dec 2022 20:06:00 +0200 Subject: [PATCH] fix push notif title --- files/routes/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/users.py b/files/routes/users.py index 3c2783c12..5dbafc8f5 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -485,7 +485,7 @@ def message2(v:User, username:str): if VAPID_PUBLIC_KEY != DEFAULT_CONFIG_VALUE and not v.shadowbanned: - title = f'New message from @{username}' + title = f'New message from @{v.username}' if len(message) > 500: notifbody = message[:500] + '...' else: notifbody = message