1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-06-20 16:35:17 +00:00

Check the availability of Firebase before accepting new tokens

This commit is contained in:
2021-04-11 19:18:28 +02:00
parent 6eb153eefa
commit 1b48bcb3c9
3 changed files with 11 additions and 1 deletions

View File

@ -77,7 +77,7 @@ impl ServerConfig {
android_direct_download_url: conf().android_direct_download_url.clone(),
notifications: NotificationsConfig {
has_firebase: c.firebase_token.is_some(),
has_firebase: c.is_firebase_available(),
has_independent: conf().independent_push_service.is_some(),
},