mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-11-23 09:45:04 +08:00
Merge 31cad7eb44d270caf59863581071424ddeea2c1c into b3427cc3964209254976537390d38eff2c880b1a
This commit is contained in:
commit
cb3dd16c9c
@ -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