Commit 67294fbe9caa95128acc7a4156d49b6d7653ce59

Authored by daojian
1 parent 60f2600a

0.4.7 版本 清除正在聊天的会话

CNLiveNewIMAManagerKit.podspec
... ... @@ -8,7 +8,7 @@
8 8  
9 9 Pod::Spec.new do |s|
10 10 s.name = 'CNLiveNewIMAManagerKit'
11   - s.version = '0.4.6'
  11 + s.version = '0.4.7'
12 12 s.summary = 'A short description of CNLiveNewIMAManagerKit.'
13 13  
14 14 #s.description = <<-DESC
... ...
CNLiveNewIMAManagerKit/Classes/Playform/IMAConversationManager.h
... ... @@ -122,6 +122,8 @@ typedef void (^IMAConversationChangedCompletion)(IMAConversationChangedNotifyIte
122 122 /// 获取正在聊天的会话
123 123 - (IMAConversation *)getChattingConversation;
124 124  
  125 +/// 清除正在聊天的会话
  126 +- (void)clearChattingConversation;
125 127 @end
126 128  
127 129  
... ...
CNLiveNewIMAManagerKit/Classes/Playform/IMAConversationManager.m
... ... @@ -1648,6 +1648,10 @@
1648 1648 {
1649 1649 return _chattingConversation;
1650 1650 }
  1651 +- (void)clearChattingConversation
  1652 +{
  1653 + _chattingConversation = nil;
  1654 +}
1651 1655 - (UINavigationController *)navigationViewController
1652 1656 {
1653 1657  
... ...