feat: Add mute notification action

This commit is contained in:
Christian Kußowski 2026-03-05 14:35:08 +01:00
commit d1abd71527
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
3 changed files with 13 additions and 2 deletions

View file

@ -174,8 +174,10 @@ Future<void> notificationTap(
parseCommands: false,
displayPendingEvent: false,
);
case FluffyChatNotificationActions.mute:
await room.setPushRuleState(PushRuleState.mentionsOnly);
}
}
}
enum FluffyChatNotificationActions { markAsRead, reply }
enum FluffyChatNotificationActions { markAsRead, reply, mute }