Skip to content

Commit

Permalink
fix:update recive name to same (openimsdk#2493)
Browse files Browse the repository at this point in the history
  • Loading branch information
qinguoyi authored Aug 9, 2024
1 parent 9b32c63 commit 33aa207
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/rpcclient/friend.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ func (f *FriendRpcClient) GetFriendIDs(ctx context.Context, ownerUserID string)
return resp.FriendIDs, nil
}

func (b *FriendRpcClient) IsBlack(ctx context.Context, possibleBlackUserID, userID string) (bool, error) {
r, err := b.Client.IsBlack(ctx, &relation.IsBlackReq{UserID1: possibleBlackUserID, UserID2: userID})
func (f *FriendRpcClient) IsBlack(ctx context.Context, possibleBlackUserID, userID string) (bool, error) {
r, err := f.Client.IsBlack(ctx, &relation.IsBlackReq{UserID1: possibleBlackUserID, UserID2: userID})
if err != nil {
return false, err
}
Expand Down

0 comments on commit 33aa207

Please sign in to comment.