修复了平台超管进房没有公屏

This commit is contained in:
fengshuo
2022-09-26 18:58:18 +08:00
parent b18505756d
commit 49e849802c
5 changed files with 16 additions and 3 deletions

View File

@@ -1095,7 +1095,7 @@ NSString * const kHadQuitOtherRoomKey = @"kHadQuitOtherRoomKey";//是否退出
}
break;
case NIMChatroomEventTypeEnter:
if (content.source.userId.integerValue != [AccountInfoStorage instance].getUid.integerValue) {
if (content.source.userId.integerValue != [AccountInfoStorage instance].getUid.integerValue && self.userInfo.platformRole != 1) {
onLineNumber += 1;
}else {///
[self userEnterRoomSuccess];