Skip to content

Commit

Permalink
upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
tangtaoit committed Oct 16, 2024
1 parent a92100f commit 2de4097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WuKongIMSDK/Classes/model/content/WKMessageContent.m
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ -(void) encodeEntities:(NSMutableDictionary*)dict {

- (NSInteger)realContentType {
NSNumber *contentType = [[self class] contentType];
if(contentType) {
if(contentType && contentType.integerValue != 0) {
return contentType.integerValue;
}
if(self.contentDict && self.contentDict[@"type"] && [self.contentDict[@"type"] integerValue]!=0) {
Expand Down

0 comments on commit 2de4097

Please sign in to comment.