log if we receive onDeletedMessages() (#3034)

* log if we receive onDeletedMessages()

* Update src/org/thoughtcrime/securesms/notifications/FcmReceiveService.java

Co-authored-by: Asiel Díaz Benítez <asieldbenitez@gmail.com>

---------

Co-authored-by: Asiel Díaz Benítez <asieldbenitez@gmail.com>
This commit is contained in:
bjoern
2024-05-08 17:40:25 +02:00
committed by GitHub
parent b4322c90ee
commit 5dd1bb17ca
@@ -81,6 +81,12 @@ public class FcmReceiveService extends FirebaseMessagingService {
// we just let the app run as long as possible.
}
@Override
public void onDeletedMessages() {
Log.i(TAG, "FCM push notifications dropped");
// nothing special to do as we're running now and notifications should be processed as usual.
}
@Override
public void onNewToken(@NonNull String rawToken) {
prefixedToken = addPrefix(rawToken);