修改了房间公告可以后台配置隐藏

This commit is contained in:
fengshuo
2022-03-16 21:33:02 +08:00
parent 3c33e7d21e
commit 6d8ad2bafe
6 changed files with 28 additions and 0 deletions

View File

@@ -18,6 +18,7 @@
#import "AccountInfoStorage.h"
#import "XPRoomMiniManager.h"
#import "PLTimeUtil.h"
#import "ClientConfig.h"
///Model
#import "RoomInfoModel.h"
#import "AttachmentModel.h"
@@ -265,6 +266,9 @@ NSString * const kRoomShowTopicKey = @"kRoomShowTopicKey";
///
- (void)createUserEnterRoomAddRoomtopicMessage {
if ([ClientConfig shareConfig].configInfo.appStoreAuditNoticeVersion == YES) {
return;
}
RoomInfoModel * roomInfo = self.hostDelegate.getRoomInfo;
if (roomInfo.uid == [AccountInfoStorage instance].getUid.integerValue) {return;}
NSString * key = [NSString stringWithFormat:@"%@_%@_%ld", kRoomShowTopicKey, [AccountInfoStorage instance].getUid, roomInfo.uid];