add SingleChatType

pull/853/head
pluto 2 years ago
parent 89f3062e35
commit 51fef3d4da

@ -295,7 +295,7 @@ func (s *userServer) SetUserStatus(ctx context.Context, req *pbuser.SetUserStatu
if err != nil {
return nil, err
}
log.ZDebug(ctx, "============UserStatusChangeNotification pre pre===========", list)
log.ZDebug(ctx, "============UserStatusChangeNotification pre pre===========", "list", list)
for _, userID := range list {
tips := &sdkws.UserStatusChangeTips{
FromUserID: value.UserID,

@ -102,7 +102,8 @@ func newSessionTypeConf() map[int32]int32 {
constant.GroupInfoSetAnnouncementNotification: constant.SuperGroupChatType,
constant.GroupInfoSetNameNotification: constant.SuperGroupChatType,
// user
constant.UserInfoUpdatedNotification: constant.SingleChatType,
constant.UserInfoUpdatedNotification: constant.SingleChatType,
constant.UserStatusChangeNotification: constant.SingleChatType,
// friend
constant.FriendApplicationNotification: constant.SingleChatType,
constant.FriendApplicationApprovedNotification: constant.SingleChatType,

Loading…
Cancel
Save