From 0b1b21731d6077da6d8b884aeda01294d4cfc0d9 Mon Sep 17 00:00:00 2001 From: Petitoto Date: Tue, 31 Oct 2023 22:54:44 +0100 Subject: [PATCH] Remove temporary FCM device registration condition --- lib/service/tools/setup.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/service/tools/setup.dart b/lib/service/tools/setup.dart index 6fb510e4c..23f4c15ae 100644 --- a/lib/service/tools/setup.dart +++ b/lib/service/tools/setup.dart @@ -33,9 +33,7 @@ void setUpNotification(WidgetRef ref) { final now = DateTime.now(); if (firebaseTokenExpiration.userId != user.id || firebaseTokenExpiration.expiration != null || - firebaseTokenExpiration.expiration!.isBefore(now) || - firebaseTokenExpiration.expiration!.isBefore(DateTime( - 2023, 10, 13)) // TODO: remove it after the october update + firebaseTokenExpiration.expiration!.isBefore(now) ) { firebaseToken.then((value) { messageNotifier.setFirebaseToken(value);