diff --git a/WuKongIMSDK.podspec b/WuKongIMSDK.podspec index 3a13e54..7af849f 100644 --- a/WuKongIMSDK.podspec +++ b/WuKongIMSDK.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'WuKongIMSDK' - s.version = '1.0.9' + s.version = '1.1.0' s.summary = '悟空IM是一款简单,高效,支持完全私有化的即时通讯.' # This description is used to generate tags and improve search results. diff --git a/WuKongIMSDK/Classes/manager/WKChatManager.m b/WuKongIMSDK/Classes/manager/WKChatManager.m index 958ac7b..9192628 100644 --- a/WuKongIMSDK/Classes/manager/WKChatManager.m +++ b/WuKongIMSDK/Classes/manager/WKChatManager.m @@ -644,7 +644,7 @@ -(WKStream*) toStream:(WKMessage*)msg { NSMutableArray *newMessages = [NSMutableArray array]; if(messages && messages.count>0) { for (WKMessage *message in messages) { - if((message.isDeleted == 0 && message.contentType != WK_CMD)) { + if(message.contentType != WK_CMD) { if(!message.setting.streamOn || (message.setting.streamOn && message.streamFlag == WKStreamFlagStart)) { [newMessages addObject:message]; }