mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-02-19 23:50:41 +01:00
Merge branch 'krille/fix-up' into 'main'
chore: Follow up fix unified push See merge request famedly/fluffychat!863
This commit is contained in:
commit
d1034e09b9
@ -377,6 +377,8 @@ class BackgroundPush {
|
|||||||
upAction = true;
|
upAction = true;
|
||||||
final data = Map<String, dynamic>.from(
|
final data = Map<String, dynamic>.from(
|
||||||
json.decode(utf8.decode(message))['notification']);
|
json.decode(utf8.decode(message))['notification']);
|
||||||
|
// UP may strip the devices list
|
||||||
|
data['devices'] ??= [];
|
||||||
await pushHelper(
|
await pushHelper(
|
||||||
PushNotification.fromJson(data),
|
PushNotification.fromJson(data),
|
||||||
client: client,
|
client: client,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user