mirror of
https://github.com/zongzibinbin/MallChat.git
synced 2026-03-14 06:03:42 +08:00
fix:删除好友同时禁用房间
This commit is contained in:
@@ -195,7 +195,7 @@ public class FriendServiceImpl implements FriendService {
|
|||||||
List<Long> friendRecordIds = userFriends.stream().map(UserFriend::getId).collect(Collectors.toList());
|
List<Long> friendRecordIds = userFriends.stream().map(UserFriend::getId).collect(Collectors.toList());
|
||||||
userFriendDao.removeByIds(friendRecordIds);
|
userFriendDao.removeByIds(friendRecordIds);
|
||||||
//禁用房间
|
//禁用房间
|
||||||
roomService.disableFriendRoom(friendRecordIds);
|
roomService.disableFriendRoom(Arrays.asList(uid, friendUid));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user