chore: Follow up notification actions
This commit is contained in:
parent
fdb5826d09
commit
4f0ed3e93f
1 changed files with 21 additions and 19 deletions
|
|
@ -278,7 +278,9 @@ Future<void> _tryPushHelper(
|
||||||
importance: Importance.high,
|
importance: Importance.high,
|
||||||
priority: Priority.max,
|
priority: Priority.max,
|
||||||
groupKey: event.room.spaceParents.firstOrNull?.roomId ?? 'rooms',
|
groupKey: event.room.spaceParents.firstOrNull?.roomId ?? 'rooms',
|
||||||
actions: <AndroidNotificationAction>[
|
actions: event.type == EventTypes.RoomMember
|
||||||
|
? null
|
||||||
|
: <AndroidNotificationAction>[
|
||||||
AndroidNotificationAction(
|
AndroidNotificationAction(
|
||||||
FluffyChatNotificationActions.reply.name,
|
FluffyChatNotificationActions.reply.name,
|
||||||
l10n.reply,
|
l10n.reply,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue