mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-24 02:16:16 +08:00
GroupInfoSetAnnouncementTips GroupInfoSetNameTips
This commit is contained in:
parent
e103e9ad3b
commit
a62860266b
@ -166,6 +166,28 @@ groupMemberInfoSet:
|
|||||||
desc: "groupMemberInfoSet desc"
|
desc: "groupMemberInfoSet desc"
|
||||||
ext: "groupMemberInfoSet ext"
|
ext: "groupMemberInfoSet ext"
|
||||||
|
|
||||||
|
groupInfoSetAnnouncement:
|
||||||
|
isSendMsg: true
|
||||||
|
reliabilityLevel: 1
|
||||||
|
unreadCount: false
|
||||||
|
offlinePush:
|
||||||
|
enable: false
|
||||||
|
title: "groupMemberInfoSet title"
|
||||||
|
desc: "groupMemberInfoSet desc"
|
||||||
|
ext: "groupMemberInfoSet ext"
|
||||||
|
|
||||||
|
|
||||||
|
groupInfoSetName:
|
||||||
|
isSendMsg: true
|
||||||
|
reliabilityLevel: 1
|
||||||
|
unreadCount: false
|
||||||
|
offlinePush:
|
||||||
|
enable: false
|
||||||
|
title: "groupMemberInfoSet title"
|
||||||
|
desc: "groupMemberInfoSet desc"
|
||||||
|
ext: "groupMemberInfoSet ext"
|
||||||
|
|
||||||
|
|
||||||
#############################friend#################################
|
#############################friend#################################
|
||||||
friendApplicationAdded:
|
friendApplicationAdded:
|
||||||
isSendMsg: false
|
isSendMsg: false
|
||||||
|
@ -332,6 +332,8 @@ type Notification struct {
|
|||||||
GroupMemberInfoSet NotificationConf `yaml:"groupMemberInfoSet"`
|
GroupMemberInfoSet NotificationConf `yaml:"groupMemberInfoSet"`
|
||||||
GroupMemberSetToAdmin NotificationConf `yaml:"groupMemberSetToAdmin"`
|
GroupMemberSetToAdmin NotificationConf `yaml:"groupMemberSetToAdmin"`
|
||||||
GroupMemberSetToOrdinary NotificationConf `yaml:"groupMemberSetToOrdinaryUser"`
|
GroupMemberSetToOrdinary NotificationConf `yaml:"groupMemberSetToOrdinaryUser"`
|
||||||
|
GroupInfoSetAnnouncement NotificationConf `yaml:"groupInfoSetAnnouncement"`
|
||||||
|
GroupInfoSetName NotificationConf `yaml:"groupInfoSetName"`
|
||||||
////////////////////////user///////////////////////
|
////////////////////////user///////////////////////
|
||||||
UserInfoUpdated NotificationConf `yaml:"userInfoUpdated"`
|
UserInfoUpdated NotificationConf `yaml:"userInfoUpdated"`
|
||||||
//////////////////////friend///////////////////////
|
//////////////////////friend///////////////////////
|
||||||
|
@ -37,6 +37,8 @@ func newContentTypeConf() map[int32]config.NotificationConf {
|
|||||||
constant.GroupMemberInfoSetNotification: config.Config.Notification.GroupMemberInfoSet,
|
constant.GroupMemberInfoSetNotification: config.Config.Notification.GroupMemberInfoSet,
|
||||||
constant.GroupMemberSetToAdminNotification: config.Config.Notification.GroupMemberSetToAdmin,
|
constant.GroupMemberSetToAdminNotification: config.Config.Notification.GroupMemberSetToAdmin,
|
||||||
constant.GroupMemberSetToOrdinaryUserNotification: config.Config.Notification.GroupMemberSetToOrdinary,
|
constant.GroupMemberSetToOrdinaryUserNotification: config.Config.Notification.GroupMemberSetToOrdinary,
|
||||||
|
constant.GroupInfoSetAnnouncementNotification: config.Config.Notification.GroupInfoSetAnnouncement,
|
||||||
|
constant.GroupInfoSetNameNotification: config.Config.Notification.GroupInfoSetName,
|
||||||
// user
|
// user
|
||||||
constant.UserInfoUpdatedNotification: config.Config.Notification.UserInfoUpdated,
|
constant.UserInfoUpdatedNotification: config.Config.Notification.UserInfoUpdated,
|
||||||
// friend
|
// friend
|
||||||
@ -79,6 +81,8 @@ func newSessionTypeConf() map[int32]int32 {
|
|||||||
constant.GroupMemberInfoSetNotification: constant.SuperGroupChatType,
|
constant.GroupMemberInfoSetNotification: constant.SuperGroupChatType,
|
||||||
constant.GroupMemberSetToAdminNotification: constant.SuperGroupChatType,
|
constant.GroupMemberSetToAdminNotification: constant.SuperGroupChatType,
|
||||||
constant.GroupMemberSetToOrdinaryUserNotification: constant.SuperGroupChatType,
|
constant.GroupMemberSetToOrdinaryUserNotification: constant.SuperGroupChatType,
|
||||||
|
constant.GroupInfoSetAnnouncementNotification: constant.SuperGroupChatType,
|
||||||
|
constant.GroupInfoSetNameNotification: constant.SuperGroupChatType,
|
||||||
// user
|
// user
|
||||||
constant.UserInfoUpdatedNotification: constant.SingleChatType,
|
constant.UserInfoUpdatedNotification: constant.SingleChatType,
|
||||||
// friend
|
// friend
|
||||||
|
Loading…
x
Reference in New Issue
Block a user