Skip to content

Commit

Permalink
fix: enableOfflineMessaging and enableHistoricalMessaging on iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
zhigang1992 authored and LichKing-2234 committed Feb 8, 2022
1 parent ff568b6 commit e75be33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios/src/Extensions.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ + (AgoraRtmMessage *)mapToRtmMessage:(NSDictionary *)map {
+ (AgoraRtmSendMessageOptions *)mapToSendMessageOptions:(NSDictionary *)map {
AgoraRtmSendMessageOptions *options =
[[AgoraRtmSendMessageOptions alloc] init];
options.enableOfflineMessaging = map[@"enableOfflineMessaging"];
options.enableHistoricalMessaging = map[@"enableHistoricalMessaging"];
options.enableOfflineMessaging = map[@"options"][@"enableOfflineMessaging"];
options.enableHistoricalMessaging = map[@"options"][@"enableHistoricalMessaging"];
return options;
}

Expand Down

0 comments on commit e75be33

Please sign in to comment.