From 3694c2425be3e6f91ded54af480c584ad16ac8bd Mon Sep 17 00:00:00 2001 From: fanchao Date: Wed, 4 Sep 2024 16:27:47 +1000 Subject: [PATCH] Comment --- .../securesms/notifications/PushRegistrationHandler.kt | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/notifications/PushRegistrationHandler.kt b/app/src/main/java/org/thoughtcrime/securesms/notifications/PushRegistrationHandler.kt index fac9df4e01e..052d285ff43 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/notifications/PushRegistrationHandler.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/notifications/PushRegistrationHandler.kt @@ -36,13 +36,10 @@ import javax.inject.Inject private const val TAG = "PushRegistrationHandler" /** - * A class that listens to the config changes, user's preference and register - * for system level push notification accordingly. + * A class that listens to the config, user's preference, token changes and + * register/unregister push notification accordingly. * - * This class only caters for new groups' push registration, and it does not handle - * de-registration of push notification for groups that are removed, as the data needed - * for de-registration can not be guaranteed to be available at the time we discover that - * a group is removed. + * This class DOES NOT handle the legacy groups push notification. */ class PushRegistrationHandler @Inject