commit af7d5c9f4fc835fd5a36e2a392954d20601f118a
parent e019ceee74abaf02c35d44639d090fae4859fc47
Author: rhunk <101876869+rhunk@users.noreply.github.com>
Date:   Sat,  4 May 2024 18:14:13 +0200

feat(notifications_blacklist): speaking

Diffstat:
Mcommon/src/main/assets/lang/en_US.json | 1+
Mcommon/src/main/kotlin/me/rhunk/snapenhance/common/data/SnapEnums.kt | 13+++++++------
2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/common/src/main/assets/lang/en_US.json b/common/src/main/assets/lang/en_US.json @@ -1061,6 +1061,7 @@ "snap": "Snap", "typing": "Typing", "stories": "Stories", + "speaking": "Speaking", "chat_reaction": "DM Reaction", "group_chat_reaction": "Group Reaction", "initiate_audio": "Incoming Audio Call", diff --git a/common/src/main/kotlin/me/rhunk/snapenhance/common/data/SnapEnums.kt b/common/src/main/kotlin/me/rhunk/snapenhance/common/data/SnapEnums.kt @@ -16,16 +16,17 @@ enum class NotificationType ( SCREEN_RECORD("chat_screen_record", true, ContentType.STATUS_CONVERSATION_CAPTURE_RECORD), CAMERA_ROLL_SAVE("camera_roll_save", true, ContentType.STATUS_SAVE_TO_CAMERA_ROLL), SNAP_REPLAY("snap_replay", true, ContentType.STATUS), - SNAP("snap",true), - CHAT("chat",true), - CHAT_REPLY("chat_reply",true), + SNAP("snap", true), + CHAT("chat", true), + CHAT_REPLY("chat_reply", true), TYPING("typing", true), - STORIES("stories",true), + STORIES("stories", true), + SPEAKING("speaking", true), DM_REACTION("chat_reaction", true, null,"snap_reaction", "voicenote_reaction"), GROUP_REACTION("group_chat_reaction", true, null,"group_snap_reaction", "group_voicenote_reaction"), - INITIATE_AUDIO("initiate_audio",true), + INITIATE_AUDIO("initiate_audio", true), ABANDON_AUDIO("abandon_audio", false, ContentType.STATUS_CALL_MISSED_AUDIO), - INITIATE_VIDEO("initiate_video",true), + INITIATE_VIDEO("initiate_video", true), ABANDON_VIDEO("abandon_video", false, ContentType.STATUS_CALL_MISSED_VIDEO); fun isMatch(key: String): Boolean {