diff --git a/internal/rpc/user/user.go b/internal/rpc/user/user.go index 4eca736f9..524c38684 100644 --- a/internal/rpc/user/user.go +++ b/internal/rpc/user/user.go @@ -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, diff --git a/pkg/rpcclient/msg.go b/pkg/rpcclient/msg.go index 205261dd9..19cc4ffc1 100644 --- a/pkg/rpcclient/msg.go +++ b/pkg/rpcclient/msg.go @@ -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,