mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-04 03:12:19 +08:00
update notification
This commit is contained in:
parent
778a30d726
commit
dc54dba66c
@ -360,6 +360,7 @@ type notification struct {
|
|||||||
BlackAdded NotificationConf `yaml:"blackAdded"`
|
BlackAdded NotificationConf `yaml:"blackAdded"`
|
||||||
BlackDeleted NotificationConf `yaml:"blackDeleted"`
|
BlackDeleted NotificationConf `yaml:"blackDeleted"`
|
||||||
FriendInfoUpdated NotificationConf `yaml:"friendInfoUpdated"`
|
FriendInfoUpdated NotificationConf `yaml:"friendInfoUpdated"`
|
||||||
|
FriendsInfoUpdate NotificationConf `yaml:"friendsInfoUpdate"`
|
||||||
//////////////////////conversation///////////////////////
|
//////////////////////conversation///////////////////////
|
||||||
ConversationChanged NotificationConf `yaml:"conversationChanged"`
|
ConversationChanged NotificationConf `yaml:"conversationChanged"`
|
||||||
ConversationSetPrivate NotificationConf `yaml:"conversationSetPrivate"`
|
ConversationSetPrivate NotificationConf `yaml:"conversationSetPrivate"`
|
||||||
|
|||||||
@ -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,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user