Commit 10af6832 by Shadow

修复报错

parent b66f10a0
......@@ -132,7 +132,7 @@ public class ImFriendController extends BaseController {
}
imFriendService.applyFriend(currentClient, friendClient, param.getFriendName(), param.getRequestRemark());
if (!param.getNeedVerify()) {
imFriendService.approveFriend(currentClient, friendClient, true, "");
imFriendService.approveFriend(friendClient, currentClient, true, "");
}
log.info("申请添加好友逻辑完成");
return ApiResult.ok();
......
......@@ -323,7 +323,7 @@ public class ImConversationMembersServiceImpl extends BaseServiceImpl<ImConversa
param.getRequestRemark());
if (!param.getNeedVerify()) {
imFriendService.approveFriend(initiator, recipient, true, "");
imFriendService.approveFriend(recipient, initiator, true, "");
}
return true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment