chore: Remove Notification actions when using UnifiedPush

This commit is contained in:
Christian Kußowski 2025-11-14 09:27:00 +01:00
commit 31b3758622
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
2 changed files with 7 additions and 1 deletions

View file

@ -448,6 +448,7 @@ class BackgroundPush {
}
Future<void> _onUpMessage(PushMessage pushMessage, String i) async {
Logs().wtf('Push Notification from UP received', pushMessage);
final message = pushMessage.content;
upAction = true;
final data = Map<String, dynamic>.from(
@ -461,6 +462,8 @@ class BackgroundPush {
l10n: l10n,
activeRoomId: matrix?.activeRoomId,
flutterLocalNotificationsPlugin: _flutterLocalNotificationsPlugin,
useNotificationActions:
false, // Buggy with UP: https://codeberg.org/UnifiedPush/flutter-connector/issues/34
);
}
}