Remove login firebase setup, restore chat list firebase setup

This commit is contained in:
Kelrap 2025-05-20 14:44:25 -04:00
parent ceb1af2631
commit 4c9912aa60
2 changed files with 1 additions and 5 deletions

View file

@ -488,9 +488,7 @@ class ChatListController extends State<ChatList>
if (mounted) {
searchServer =
Matrix.of(context).store.getString(_serverStoreNamespace);
// #Pangea
// Matrix.of(context).backgroundPush?.setupPush();
// Pangea#
Matrix.of(context).backgroundPush?.setupPush();
UpdateNotifier.showUpdateSnackBar(context);
// #Pangea
AppVersionUtil.showAppVersionDialog(context);

View file

@ -81,8 +81,6 @@ class BackgroundPush {
void _init() async {
try {
// #Pangea
onLogin ??=
client.onLoginStateChanged.stream.listen(handleLoginStateChanged);
FirebaseMessaging.instance.getInitialMessage().then(_onOpenNotification);
FirebaseMessaging.onMessageOpenedApp.listen(_onOpenNotification);
// Pangea#