fix:删除好友同时禁用房间

This commit is contained in:
zhongzb
2023-09-24 01:31:31 +08:00
parent 263c224576
commit 894cda6dcd

View File

@@ -195,7 +195,7 @@ public class FriendServiceImpl implements FriendService {
List<Long> friendRecordIds = userFriends.stream().map(UserFriend::getId).collect(Collectors.toList());
userFriendDao.removeByIds(friendRecordIds);
//禁用房间
roomService.disableFriendRoom(friendRecordIds);
roomService.disableFriendRoom(Arrays.asList(uid, friendUid));
}
@Override