feat: 移除公聊

This commit is contained in:
eggmanQQQ
2024-08-22 11:40:50 +08:00
parent 3e6fec0601
commit c8674be186
69 changed files with 91 additions and 5348 deletions

View File

@@ -80,7 +80,6 @@
#import "XPRoomLittleGameContainerView.h"
#import "XPUserCardViewController.h"
#import "PIRoomEnterRedPacketView.h"
#import "MSSessionReleaseHeadlinesView.h"
#import "XPIAPRechargeViewController.h"
#import "XPCandyTreeInsufficientBalanceView.h"
@@ -92,7 +91,7 @@ UIKIT_EXTERN NSString * const kFreeGiftCountdownNotification;
NSString * const kHadShowAnchorRoomTipKey = @"kHadShowAnchorRoomTipKey";//
NSString * const kHadQuitOtherRoomKey = @"kHadQuitOtherRoomKey";//退
@interface XPRoomViewController ()<XPRoomProtocol, RoomHostDelegate, NIMChatroomManagerDelegate, NIMChatManagerDelegate, NIMConversationManagerDelegate, NIMLoginManagerDelegate, XPRoomSettingInputViewDelegate, AnchorRoomScrollViewDelegate, XPFirstRechargeViewDelegate,NIMBroadcastManagerDelegate,XPRoomLittleGameContainerViewDelegate,CountDownHelperDelegate,PIRoomEnterRedPacketViewDelegate,XPReceiveRedPacketViewDelegate,MSSessionReleaseHeadlinesViewDelegate, XPCandyTreeInsufficientBalanceViewDelegate>
@interface XPRoomViewController ()<XPRoomProtocol, RoomHostDelegate, NIMChatroomManagerDelegate, NIMChatManagerDelegate, NIMConversationManagerDelegate, NIMLoginManagerDelegate, XPRoomSettingInputViewDelegate, AnchorRoomScrollViewDelegate, XPFirstRechargeViewDelegate,NIMBroadcastManagerDelegate,XPRoomLittleGameContainerViewDelegate,CountDownHelperDelegate,PIRoomEnterRedPacketViewDelegate,XPReceiveRedPacketViewDelegate, XPCandyTreeInsufficientBalanceViewDelegate>
{
NSTimer * timer;
}
@@ -369,15 +368,6 @@ NSString * const kHadQuitOtherRoomKey = @"kHadQuitOtherRoomKey";//是否退出
}
}
-(void)showSendheadlineView:(NSNotification *)not{
MSSessionReleaseHeadlinesView *releaseView = [[MSSessionReleaseHeadlinesView alloc]initWithFrame:CGRectMake(0, 0, KScreenWidth, KScreenHeight)];
releaseView.sendText = not.object;
[releaseView loadDataForRoom];
releaseView.delegate = self;
releaseView.backgroundColor = [UIColor clearColor];
[self.view addSubview:releaseView];
}
- (void)startCheckOnlineCountTimer {
@kWeakify(self);
timer = [XPWeakTimer scheduledTimerWithTimeInterval:30 block:^(id userInfo) {