Remove login firebase setup, restore chat list firebase setup
This commit is contained in:
parent
ceb1af2631
commit
4c9912aa60
2 changed files with 1 additions and 5 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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#
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue