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