好友:修复同意好友的时候推送错误问题

This commit is contained in:
luying
2022-06-15 16:36:08 +08:00
parent 7d0f6e0004
commit e6c22d82ec
2 changed files with 2 additions and 1 deletions
@@ -240,7 +240,7 @@ export class FriendHandler {
list.push(param);
if (hisOnlineInfo.isOnline) {
let myParam = await getMyParamAsFriend(friendShip, role, friend.roleId);
sendMessageToUserWithSuc(friend.roleId, PUSH_ROUTE.FRIEND_APPLY, { friend: myParam }, hisOnlineInfo.sid);
sendMessageToUserWithSuc(friend.roleId, PUSH_ROUTE.FRIEND_ADD, { friend: myParam }, hisOnlineInfo.sid);
}
resultApplyCodeList.push(apply.applyCode);