mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-11-22 00:53:41 +08:00
Merge 4d3e855bbfce4915baa675360ee0d242c31322df into 7788c8672143e4f3d10f38a0c24058fc9520af1e
This commit is contained in:
commit
9924377a2c
@ -226,7 +226,8 @@ func (f *friendDatabase) RefuseFriendRequest(ctx context.Context, friendRequest
|
||||
"Arg_FriendRequest": friendRequest,
|
||||
})
|
||||
|
||||
// Mark the friend request as refused and update the handle time.
|
||||
// Mark the friend request as refused, record the operator, and update the handle time.
|
||||
friendRequest.HandlerUserID = mcontext.GetOpUserID(ctx)
|
||||
friendRequest.HandleResult = constant.FriendResponseRefuse
|
||||
friendRequest.HandleTime = time.Now()
|
||||
if err := f.friendRequest.Update(ctx, friendRequest); err != nil {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user