mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-10-29 07:12:14 +08:00
fix: friend op_user_id
This commit is contained in:
parent
e7a4ef38f2
commit
45a2031dc5
@ -160,7 +160,7 @@ func (f *friendDatabase) BecomeFriends(ctx context.Context, ownerUserID string,
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
opUserID := mcontext.GetOperationID(ctx)
|
opUserID := mcontext.GetOpUserID(ctx)
|
||||||
friends := make([]*model.Friend, 0, len(friendUserIDs)*2)
|
friends := make([]*model.Friend, 0, len(friendUserIDs)*2)
|
||||||
myFriendsSet := datautil.SliceSetAny(myFriends, func(friend *model.Friend) string {
|
myFriendsSet := datautil.SliceSetAny(myFriends, func(friend *model.Friend) string {
|
||||||
return friend.FriendUserID
|
return friend.FriendUserID
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user