Commit 66da987047edaa99bfa7d8a688b85bcc7c802326
1 parent
e7033fcf
聊天室不接收历史消息
Showing
1 changed file
with
1 additions
and
1 deletions
LiveVideoCloud/Classes/Sections/InteractionSections/LiveBaseView.m
| ... | ... | @@ -102,7 +102,7 @@ typedef NS_ENUM(NSInteger, PopType) {//弹窗类型 |
| 102 | 102 | { |
| 103 | 103 | _roomId = roomId; |
| 104 | 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 | 107 | NSDictionary *dic = @{chatType:joinType,chatMessage:@{}}; |
| 108 | 108 | ... | ... |