diff --git a/AVOS/AVOSCloudIM/Conversation/AVIMConversation.m b/AVOS/AVOSCloudIM/Conversation/AVIMConversation.m index be958ae7..835b63e1 100644 --- a/AVOS/AVOSCloudIM/Conversation/AVIMConversation.m +++ b/AVOS/AVOSCloudIM/Conversation/AVIMConversation.m @@ -652,7 +652,9 @@ - (id)objectForKeyedSubscript:(NSString *)key - (void)fetchReceiptTimestampsInBackground { AVIMClient *client = self.imClient; - if (!client) { + if (!client || + (self.convType == LCIMConvTypeTransient) || + (self.convType == LCIMConvTypeSystem)) { return; } @@ -1204,7 +1206,8 @@ - (void)unmuteWithCallback:(void (^)(BOOL, NSError *))callback - (void)readInBackground { AVIMClient *client = self.imClient; - if (!client) { + if (!client || + (self.convType == LCIMConvTypeTransient)) { return; }