Skip to content

Commit d6a1390

Browse files
committed
update field
1 parent cf42103 commit d6a1390

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

ios/RCTJMessageModule/RCTJMessageModule.m

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -821,10 +821,10 @@ - (JMSGOptionalContent *)convertDicToJMSGOptionalContent:(NSDictionary *)dic {
821821
return;
822822
}
823823

824-
BOOL isDecend = false;
825-
if (param[@"isDecend"]) {
826-
NSNumber *number = param[@"isDecend"];
827-
isDecend = [number boolValue];
824+
BOOL isDescend = false;
825+
if (param[@"isDescend"]) {
826+
NSNumber *number = param[@"isDescend"];
827+
isDescend = [number boolValue];
828828
}
829829

830830
[self getConversationWithDictionary:param callback:^(JMSGConversation *conversation, NSError *error) {
@@ -844,7 +844,7 @@ - (JMSGOptionalContent *)convertDicToJMSGOptionalContent:(NSDictionary *)dic {
844844
return;
845845
}
846846

847-
if (isDecend) {
847+
if (isDescend) {
848848
messageDicArr = [[messageDicArr reverseObjectEnumerator] allObjects];
849849
}
850850

0 commit comments

Comments
 (0)