mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-01-11 10:12:49 +01:00
chore: Follow up fix unified push
This commit is contained in:
parent
882f1416fc
commit
df0afa1cce
@ -377,6 +377,8 @@ class BackgroundPush {
|
||||
upAction = true;
|
||||
final data = Map<String, dynamic>.from(
|
||||
json.decode(utf8.decode(message))['notification']);
|
||||
// UP may strip the devices list
|
||||
data['devices'] ??= [];
|
||||
await pushHelper(
|
||||
PushNotification.fromJson(data),
|
||||
client: client,
|
||||
|
Loading…
Reference in New Issue
Block a user