Fix of the Notifications Funktions and the notifications system in generell in regarts to the Vapid key handeling

This commit is contained in:
2026-07-28 23:46:15 +02:00
parent b037434e89
commit 3571bb6f6d
4 changed files with 11 additions and 10 deletions
+3
View File
@@ -60,6 +60,9 @@ VAPID_SUBJECT = os.getenv('VAPID_SUBJECT', 'mailto:support@invario-software.de')
FCM_API_KEY = os.getenv('FCM_API_KEY', '')
def _get_vapid_public():
return VAPID_PUBLIC_KEY
def _get_username_hash(username):
"""Generates a deterministic hash for database lookups."""
if not username: