GroupInfoSetAnnouncementTips GroupInfoSetNameTips

This commit is contained in:
withchao 2023-06-07 14:34:24 +08:00
parent e103e9ad3b
commit a62860266b
3 changed files with 43 additions and 15 deletions

View File

@ -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

View File

@ -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///////////////////////

View File

@ -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