From 9114304d28aff20d18b5a7242bdba084e061b93d Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Sun, 5 May 2024 23:14:31 +0200 Subject: [PATCH] clarify the onMessageRecevied() strategy --- .../securesms/notifications/FcmReceiveService.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/org/thoughtcrime/securesms/notifications/FcmReceiveService.java b/src/org/thoughtcrime/securesms/notifications/FcmReceiveService.java index 488cbc65a..fc34944d9 100644 --- a/src/org/thoughtcrime/securesms/notifications/FcmReceiveService.java +++ b/src/org/thoughtcrime/securesms/notifications/FcmReceiveService.java @@ -69,6 +69,9 @@ public class FcmReceiveService extends FirebaseMessagingService { @Override public void onMessageReceived(@NonNull RemoteMessage remoteMessage) { Log.i(TAG, "FCM push notification received"); + // the app is running (again) now and fetching and notifications should be processed as usual. + // to support accounts that do not send PUSH notifications and for simplicity, + // we just let the app run as long as possible. } @Override