|
|
|
@ -1125,6 +1125,7 @@ func (g *groupServer) SetGroupInfoEX(ctx context.Context, req *pbgroup.SetGroupI
|
|
|
|
|
if req.GroupInfoForSetEX.Notification != nil {
|
|
|
|
|
num--
|
|
|
|
|
|
|
|
|
|
if req.GroupInfoForSetEX.Notification.Value != "" {
|
|
|
|
|
func() {
|
|
|
|
|
conversation := &pbconversation.ConversationReq{
|
|
|
|
|
ConversationID: msgprocessor.GetConversationIDBySessionType(constant.ReadGroupChatType, req.GroupInfoForSetEX.GroupID),
|
|
|
|
@ -1147,11 +1148,13 @@ func (g *groupServer) SetGroupInfoEX(ctx context.Context, req *pbgroup.SetGroupI
|
|
|
|
|
|
|
|
|
|
g.notification.GroupInfoSetAnnouncementNotification(ctx, &sdkws.GroupInfoSetAnnouncementTips{Group: tips.Group, OpUser: tips.OpUser})
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if req.GroupInfoForSetEX.GroupName != "" {
|
|
|
|
|
num--
|
|
|
|
|
|
|
|
|
|
g.notification.GroupInfoSetNameNotification(ctx, &sdkws.GroupInfoSetNameTips{Group: tips.Group, OpUser: tips.OpUser})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if num > 0 {
|
|
|
|
|
g.notification.GroupInfoSetNotification(ctx, tips)
|
|
|
|
|
}
|
|
|
|
|