mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-19 12:47:06 +08:00
add SingleChatType
This commit is contained in:
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,
|
||||
|
||||
@ -103,6 +103,7 @@ func newSessionTypeConf() map[int32]int32 {
|
||||
constant.GroupInfoSetNameNotification: constant.SuperGroupChatType,
|
||||
// user
|
||||
constant.UserInfoUpdatedNotification: constant.SingleChatType,
|
||||
constant.UserStatusChangeNotification: constant.SingleChatType,
|
||||
// friend
|
||||
constant.FriendApplicationNotification: constant.SingleChatType,
|
||||
constant.FriendApplicationApprovedNotification: constant.SingleChatType,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user