feat: chat notification

This commit is contained in:
Krispire Admin
2026-08-30 11:13:33 +05:30
parent a2d22ed829
commit ac92bc2cf3
4 changed files with 95 additions and 14 deletions
+2 -2
View File
@@ -65,8 +65,8 @@ var PrefCategories = map[string][]string{
"post_interactions": {NotifPostLike, NotifPostMention, NotifPostComment, NotifCommentReply},
"sadhna_reminders": {NotifChantReminder, NotifQuoteReminder, NotifChantIncomplete},
"community": {NotifDiscipleJoined},
// Push only: in-app delivery for chat is the inbox itself, and there is
// no such thing as an emailed chat message.
// Push, plus email for FIRST contact only — see ChatService.emailFirstContact.
// In-app delivery for chat is the inbox itself, so it isn't offered here.
"messages": {NotifChatMessage},
}