mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-24 04:59:26 +01:00
Merge branch 'soru/fix-no-pusher-endpoint' into 'main'
fix: no pushers enpdoint See merge request ChristianPauly/fluffychat-flutter!253
This commit is contained in:
commit
12cb66b468
@ -58,7 +58,7 @@ abstract class FirebaseController {
|
|||||||
}
|
}
|
||||||
final pushers = await client.requestPushers().catchError((e) {
|
final pushers = await client.requestPushers().catchError((e) {
|
||||||
debugPrint('[Push] Unable to request pushers: ${e.toString()}');
|
debugPrint('[Push] Unable to request pushers: ${e.toString()}');
|
||||||
return [];
|
return <Pusher>[];
|
||||||
});
|
});
|
||||||
final currentPushers = pushers.where((pusher) => pusher.pushkey == token);
|
final currentPushers = pushers.where((pusher) => pusher.pushkey == token);
|
||||||
if (currentPushers.length == 1 &&
|
if (currentPushers.length == 1 &&
|
||||||
|
Loading…
Reference in New Issue
Block a user