1:优化小黑屋退出房间后加入大房间

This commit is contained in:
2026-01-16 17:55:18 +08:00
parent 267b8a0aea
commit 716cafc62b
2 changed files with 5 additions and 4 deletions

View File

@@ -93,7 +93,6 @@ public class MessageExListenerSingleton {
// 同时修改 removePublicScreenMessageListener 方法
public void removePublicScreenMessageListener(PublicScreenMessageListener listener) {
mRoomId = "";
if (listener == null) {
return;
}
@@ -205,8 +204,6 @@ public class MessageExListenerSingleton {
if (TextUtils.isEmpty(roomId)) {
return;
}
if (Objects.equals(mRoomId, roomId))
return;
synchronized (groupOperationLock) {
if (isGroupOperationInProgress) {
// 如果有操作正在进行,延迟执行
@@ -389,7 +386,7 @@ public class MessageExListenerSingleton {
public void onReceiveRESTCustomData(String groupID, byte[] customData) {
String message = "";
try {
LogUtils.e("收到群自定义消息",groupID);
message = new String(customData, StandardCharsets.UTF_8);
LogUtils.e("收到群自定义消息(系统)" + message);
} catch (Exception e) {