|
|
@ -68,6 +68,7 @@ func newContentTypeConf() map[int32]config.NotificationConf {
|
|
|
|
constant.BlackAddedNotification: config.Config.Notification.BlackAdded,
|
|
|
|
constant.BlackAddedNotification: config.Config.Notification.BlackAdded,
|
|
|
|
constant.BlackDeletedNotification: config.Config.Notification.BlackDeleted,
|
|
|
|
constant.BlackDeletedNotification: config.Config.Notification.BlackDeleted,
|
|
|
|
constant.FriendInfoUpdatedNotification: config.Config.Notification.FriendInfoUpdated,
|
|
|
|
constant.FriendInfoUpdatedNotification: config.Config.Notification.FriendInfoUpdated,
|
|
|
|
|
|
|
|
constant.FriendsInfoUpdateNotification: config.Config.Notification.FriendsInfoUpdate,
|
|
|
|
// conversation
|
|
|
|
// conversation
|
|
|
|
constant.ConversationChangeNotification: config.Config.Notification.ConversationChanged,
|
|
|
|
constant.ConversationChangeNotification: config.Config.Notification.ConversationChanged,
|
|
|
|
constant.ConversationUnreadNotification: config.Config.Notification.ConversationChanged,
|
|
|
|
constant.ConversationUnreadNotification: config.Config.Notification.ConversationChanged,
|
|
|
@ -115,6 +116,7 @@ func newSessionTypeConf() map[int32]int32 {
|
|
|
|
constant.BlackAddedNotification: constant.SingleChatType,
|
|
|
|
constant.BlackAddedNotification: constant.SingleChatType,
|
|
|
|
constant.BlackDeletedNotification: constant.SingleChatType,
|
|
|
|
constant.BlackDeletedNotification: constant.SingleChatType,
|
|
|
|
constant.FriendInfoUpdatedNotification: constant.SingleChatType,
|
|
|
|
constant.FriendInfoUpdatedNotification: constant.SingleChatType,
|
|
|
|
|
|
|
|
constant.FriendsInfoUpdateNotification: constant.SingleChatType,
|
|
|
|
// conversation
|
|
|
|
// conversation
|
|
|
|
constant.ConversationChangeNotification: constant.SingleChatType,
|
|
|
|
constant.ConversationChangeNotification: constant.SingleChatType,
|
|
|
|
constant.ConversationUnreadNotification: constant.SingleChatType,
|
|
|
|
constant.ConversationUnreadNotification: constant.SingleChatType,
|
|
|
|