mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-24 18:36:19 +08:00
GroupInfoSetAnnouncementTips GroupInfoSetNameTips
This commit is contained in:
parent
e103e9ad3b
commit
a62860266b
@ -7,7 +7,7 @@ groupCreated:
|
|||||||
title: "create group title" # xx create the group
|
title: "create group title" # xx create the group
|
||||||
desc: "create group desc"
|
desc: "create group desc"
|
||||||
ext: "create group ext"
|
ext: "create group ext"
|
||||||
|
|
||||||
# 不加消息contentType,content统一json 结构体使用pb的
|
# 不加消息contentType,content统一json 结构体使用pb的
|
||||||
|
|
||||||
|
|
||||||
@ -41,7 +41,7 @@ memberQuit:
|
|||||||
title: "memberQuit title"
|
title: "memberQuit title"
|
||||||
desc: "memberQuit desc"
|
desc: "memberQuit desc"
|
||||||
ext: "memberQuit ext"
|
ext: "memberQuit ext"
|
||||||
|
|
||||||
groupApplicationAccepted:
|
groupApplicationAccepted:
|
||||||
isSendMsg: false
|
isSendMsg: false
|
||||||
reliabilityLevel: 1
|
reliabilityLevel: 1
|
||||||
@ -51,7 +51,7 @@ groupApplicationAccepted:
|
|||||||
title: "groupApplicationAccepted title"
|
title: "groupApplicationAccepted title"
|
||||||
desc: "groupApplicationAccepted desc"
|
desc: "groupApplicationAccepted desc"
|
||||||
ext: "groupApplicationAccepted ext"
|
ext: "groupApplicationAccepted ext"
|
||||||
|
|
||||||
groupApplicationRejected:
|
groupApplicationRejected:
|
||||||
isSendMsg: false
|
isSendMsg: false
|
||||||
reliabilityLevel: 1
|
reliabilityLevel: 1
|
||||||
@ -166,11 +166,33 @@ 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
|
||||||
reliabilityLevel: 1
|
reliabilityLevel: 1
|
||||||
unreadCount: false
|
unreadCount: false
|
||||||
offlinePush:
|
offlinePush:
|
||||||
enable: false
|
enable: false
|
||||||
title: "Somebody applies to add you as a friend"
|
title: "Somebody applies to add you as a friend"
|
||||||
@ -180,7 +202,7 @@ friendApplicationAdded:
|
|||||||
friendApplicationApproved:
|
friendApplicationApproved:
|
||||||
isSendMsg: true
|
isSendMsg: true
|
||||||
reliabilityLevel: 1
|
reliabilityLevel: 1
|
||||||
unreadCount: false
|
unreadCount: false
|
||||||
offlinePush:
|
offlinePush:
|
||||||
enable: true
|
enable: true
|
||||||
title: "Someone applies to add your friend application"
|
title: "Someone applies to add your friend application"
|
||||||
@ -190,7 +212,7 @@ friendApplicationApproved:
|
|||||||
friendApplicationRejected:
|
friendApplicationRejected:
|
||||||
isSendMsg: false
|
isSendMsg: false
|
||||||
reliabilityLevel: 1
|
reliabilityLevel: 1
|
||||||
unreadCount: false
|
unreadCount: false
|
||||||
offlinePush:
|
offlinePush:
|
||||||
enable: true
|
enable: true
|
||||||
title: "Someone rejected your friend application"
|
title: "Someone rejected your friend application"
|
||||||
@ -200,7 +222,7 @@ friendApplicationRejected:
|
|||||||
friendAdded:
|
friendAdded:
|
||||||
isSendMsg: false
|
isSendMsg: false
|
||||||
reliabilityLevel: 1
|
reliabilityLevel: 1
|
||||||
unreadCount: false
|
unreadCount: false
|
||||||
offlinePush:
|
offlinePush:
|
||||||
enable: true
|
enable: true
|
||||||
title: "We have become friends"
|
title: "We have become friends"
|
||||||
@ -210,7 +232,7 @@ friendAdded:
|
|||||||
friendDeleted:
|
friendDeleted:
|
||||||
isSendMsg: false
|
isSendMsg: false
|
||||||
reliabilityLevel: 1
|
reliabilityLevel: 1
|
||||||
unreadCount: false
|
unreadCount: false
|
||||||
offlinePush:
|
offlinePush:
|
||||||
enable: true
|
enable: true
|
||||||
title: "deleted a friend"
|
title: "deleted a friend"
|
||||||
@ -220,7 +242,7 @@ friendDeleted:
|
|||||||
friendRemarkSet:
|
friendRemarkSet:
|
||||||
isSendMsg: false
|
isSendMsg: false
|
||||||
reliabilityLevel: 1
|
reliabilityLevel: 1
|
||||||
unreadCount: false
|
unreadCount: false
|
||||||
offlinePush:
|
offlinePush:
|
||||||
enable: true
|
enable: true
|
||||||
title: "Your friend's profile has been changed"
|
title: "Your friend's profile has been changed"
|
||||||
@ -230,7 +252,7 @@ friendRemarkSet:
|
|||||||
blackAdded:
|
blackAdded:
|
||||||
isSendMsg: false
|
isSendMsg: false
|
||||||
reliabilityLevel: 1
|
reliabilityLevel: 1
|
||||||
unreadCount: false
|
unreadCount: false
|
||||||
offlinePush:
|
offlinePush:
|
||||||
enable: true
|
enable: true
|
||||||
title: "blocked a user"
|
title: "blocked a user"
|
||||||
@ -240,7 +262,7 @@ blackAdded:
|
|||||||
blackDeleted:
|
blackDeleted:
|
||||||
isSendMsg: false
|
isSendMsg: false
|
||||||
reliabilityLevel: 1
|
reliabilityLevel: 1
|
||||||
unreadCount: false
|
unreadCount: false
|
||||||
offlinePush:
|
offlinePush:
|
||||||
enable: true
|
enable: true
|
||||||
title: "Remove a blocked user"
|
title: "Remove a blocked user"
|
||||||
@ -250,7 +272,7 @@ blackDeleted:
|
|||||||
friendInfoUpdated:
|
friendInfoUpdated:
|
||||||
isSendMsg: false
|
isSendMsg: false
|
||||||
reliabilityLevel: 1
|
reliabilityLevel: 1
|
||||||
unreadCount: false
|
unreadCount: false
|
||||||
offlinePush:
|
offlinePush:
|
||||||
enable: true
|
enable: true
|
||||||
title: "friend info updated"
|
title: "friend info updated"
|
||||||
@ -261,7 +283,7 @@ friendInfoUpdated:
|
|||||||
userInfoUpdated:
|
userInfoUpdated:
|
||||||
isSendMsg: false
|
isSendMsg: false
|
||||||
reliabilityLevel: 1
|
reliabilityLevel: 1
|
||||||
unreadCount: false
|
unreadCount: false
|
||||||
offlinePush:
|
offlinePush:
|
||||||
enable: true
|
enable: true
|
||||||
title: "Remove a blocked user"
|
title: "Remove a blocked user"
|
||||||
@ -272,7 +294,7 @@ userInfoUpdated:
|
|||||||
conversationChanged:
|
conversationChanged:
|
||||||
isSendMsg: false
|
isSendMsg: false
|
||||||
reliabilityLevel: 1
|
reliabilityLevel: 1
|
||||||
unreadCount: false
|
unreadCount: false
|
||||||
offlinePush:
|
offlinePush:
|
||||||
enable: true
|
enable: true
|
||||||
title: "conversation changed"
|
title: "conversation changed"
|
||||||
@ -282,7 +304,7 @@ conversationChanged:
|
|||||||
conversationSetPrivate:
|
conversationSetPrivate:
|
||||||
isSendMsg: true
|
isSendMsg: true
|
||||||
reliabilityLevel: 1
|
reliabilityLevel: 1
|
||||||
unreadCount: false
|
unreadCount: false
|
||||||
offlinePush:
|
offlinePush:
|
||||||
enable: true
|
enable: true
|
||||||
title: "burn after reading"
|
title: "burn after reading"
|
||||||
|
@ -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