2
0
mirror of https://gitlab.com/famedly/fluffychat.git synced 2025-06-02 13:47:22 +02:00

Merge branch 'soru/fix-no-pusher-endpoint' into 'main'

fix: no pushers enpdoint

See merge request 
This commit is contained in:
Christian Pauly 2020-10-30 09:07:33 +00:00
commit 12cb66b468

@ -58,7 +58,7 @@ abstract class FirebaseController {
}
final pushers = await client.requestPushers().catchError((e) {
debugPrint('[Push] Unable to request pushers: ${e.toString()}');
return [];
return <Pusher>[];
});
final currentPushers = pushers.where((pusher) => pusher.pushkey == token);
if (currentPushers.length == 1 &&