Commit 66da987047edaa99bfa7d8a688b85bcc7c802326

Authored by 王军波
1 parent e7033fcf

聊天室不接收历史消息

LiveVideoCloud/Classes/Sections/InteractionSections/LiveBaseView.m
@@ -102,7 +102,7 @@ typedef NS_ENUM(NSInteger, PopType) {//弹窗类型 @@ -102,7 +102,7 @@ typedef NS_ENUM(NSInteger, PopType) {//弹窗类型
102 { 102 {
103 _roomId = roomId; 103 _roomId = roomId;
104 [CNLiveChatManager sharedCNLiveChatManager].delegate = self; 104 [CNLiveChatManager sharedCNLiveChatManager].delegate = self;
105 - [[CNLiveChatManager sharedCNLiveChatManager] joinChatRoom:roomId messageCount:0 success:^(NSString *targetId) { 105 + [[CNLiveChatManager sharedCNLiveChatManager] joinChatRoom:roomId messageCount:-1 success:^(NSString *targetId) {
106 106
107 NSDictionary *dic = @{chatType:joinType,chatMessage:@{}}; 107 NSDictionary *dic = @{chatType:joinType,chatMessage:@{}};
108 108