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 {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
log.ZDebug(ctx, "============UserStatusChangeNotification pre pre===========", list)
|
log.ZDebug(ctx, "============UserStatusChangeNotification pre pre===========", "list", list)
|
||||||
for _, userID := range list {
|
for _, userID := range list {
|
||||||
tips := &sdkws.UserStatusChangeTips{
|
tips := &sdkws.UserStatusChangeTips{
|
||||||
FromUserID: value.UserID,
|
FromUserID: value.UserID,
|
||||||
|
|||||||
@ -102,7 +102,8 @@ func newSessionTypeConf() map[int32]int32 {
|
|||||||
constant.GroupInfoSetAnnouncementNotification: constant.SuperGroupChatType,
|
constant.GroupInfoSetAnnouncementNotification: constant.SuperGroupChatType,
|
||||||
constant.GroupInfoSetNameNotification: constant.SuperGroupChatType,
|
constant.GroupInfoSetNameNotification: constant.SuperGroupChatType,
|
||||||
// user
|
// user
|
||||||
constant.UserInfoUpdatedNotification: constant.SingleChatType,
|
constant.UserInfoUpdatedNotification: constant.SingleChatType,
|
||||||
|
constant.UserStatusChangeNotification: constant.SingleChatType,
|
||||||
// friend
|
// friend
|
||||||
constant.FriendApplicationNotification: constant.SingleChatType,
|
constant.FriendApplicationNotification: constant.SingleChatType,
|
||||||
constant.FriendApplicationApprovedNotification: constant.SingleChatType,
|
constant.FriendApplicationApprovedNotification: constant.SingleChatType,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user