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