注释掉了处理 NIM 通知消息中的用户 ID 比较逻辑,以提升代码整洁性和可读性。
This commit is contained in:
@@ -486,9 +486,9 @@
|
||||
NSString* position = [data objectForKey:NIMChatroomEventInfoQueueChangeItemKey];
|
||||
UserInfoModel* userInfo = [UserInfoModel modelWithJSON:[data objectForKey:NIMChatroomEventInfoQueueChangeItemValueKey]];
|
||||
NSInteger changeType = [data[NIMChatroomEventInfoQueueChangeTypeKey] integerValue];
|
||||
if (userInfo.uid == [AccountInfoStorage instance].getUid.integerValue) {
|
||||
ownerRTCChanged = YES;
|
||||
}
|
||||
// if (userInfo.uid == [AccountInfoStorage instance].getUid.integerValue) {
|
||||
// ownerRTCChanged = YES;
|
||||
// }
|
||||
// 先清除该用户旧的麦位
|
||||
for (MicroQueueModel *sequence in self.micQueue.allValues) {
|
||||
if (userInfo.uid == sequence.userInfo.uid) {
|
||||
|
Reference in New Issue
Block a user