Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tangtaoit committed Oct 28, 2024
1 parent bb22a76 commit 89bf9a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion WuKongIMSDK.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion WuKongIMSDK/Classes/manager/WKChatManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
Expand Down

0 comments on commit 89bf9a1

Please sign in to comment.