notification

This commit is contained in:
Gordon
2022-08-16 19:15:54 +08:00
parent 1f8a965b7a
commit 12a4c12753
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -837,9 +837,9 @@ func Notification(n *NotificationMsg) {
ex = config.Config.Notification.ConversationSetPrivate.OfflinePush.Ext
reliabilityLevel = config.Config.Notification.ConversationSetPrivate.Conversation.ReliabilityLevel
unReadCount = config.Config.Notification.ConversationSetPrivate.Conversation.UnreadCount
case constant.DeleteMessageNotification:
case constant.DeleteMessageNotification, constant.SuperGroupUpdateNotification:
reliabilityLevel = constant.ReliableNotificationNoMsg
case constant.SuperGroupUpdateNotification, constant.ConversationUnreadNotification:
case constant.ConversationUnreadNotification:
reliabilityLevel = constant.UnreliableNotification
}
switch reliabilityLevel {