Merge branch 'krille/fix-up' into 'main'

chore: Follow up fix unified push

See merge request famedly/fluffychat!863
krille/upgrade-flutter-3
Krille Fear 3 years ago
commit 386b2eb951

@ -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…
Cancel
Save