We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a5f3d4 commit c3d1b2fCopy full SHA for c3d1b2f
AVOS/Sources/Realtime/IM/Client/LCIMClient.m
@@ -1352,7 +1352,7 @@ - (void)processPatchModify:(AVIMGenericCommand *)inCommand
1352
LCIMMessagePatchedReason *patchedReason;
1353
if (patchItem.hasPatchCode || patchItem.hasPatchReason) {
1354
patchedReason = [LCIMMessagePatchedReason new];
1355
- patchedReason.code = (patchItem.hasPatchCode ? patchItem.patchCode : 0);
+ patchedReason.code = (NSInteger)(patchItem.hasPatchCode ? patchItem.patchCode : 0);
1356
patchedReason.reason = (patchItem.hasPatchReason ? patchItem.patchReason : nil);
1357
}
1358
LCIMMessage *patchMessage = [conversation processPatchModified:patchItem];
0 commit comments