fix push notif title

pull/78/head
Aevann1 2022-12-16 20:06:00 +02:00
parent beba0a499d
commit 173f9e9853
1 changed files with 1 additions and 1 deletions

View File

@ -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