From 894cda6dcd092e4ff3cf57cb1a11f912809df10f Mon Sep 17 00:00:00 2001 From: zhongzb <972627721@qq.com> Date: Sun, 24 Sep 2023 01:31:31 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=88=A0=E9=99=A4=E5=A5=BD=E5=8F=8B?= =?UTF-8?q?=E5=90=8C=E6=97=B6=E7=A6=81=E7=94=A8=E6=88=BF=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mallchat/common/user/service/impl/FriendServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mallchat-chat-server/src/main/java/com/abin/mallchat/common/user/service/impl/FriendServiceImpl.java b/mallchat-chat-server/src/main/java/com/abin/mallchat/common/user/service/impl/FriendServiceImpl.java index 71a681a..011e209 100644 --- a/mallchat-chat-server/src/main/java/com/abin/mallchat/common/user/service/impl/FriendServiceImpl.java +++ b/mallchat-chat-server/src/main/java/com/abin/mallchat/common/user/service/impl/FriendServiceImpl.java @@ -195,7 +195,7 @@ public class FriendServiceImpl implements FriendService { List friendRecordIds = userFriends.stream().map(UserFriend::getId).collect(Collectors.toList()); userFriendDao.removeByIds(friendRecordIds); //禁用房间 - roomService.disableFriendRoom(friendRecordIds); + roomService.disableFriendRoom(Arrays.asList(uid, friendUid)); } @Override