Skip to content

Commit

Permalink
fix: iOS process RemoteInvitation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
LichKing-2234 committed Jan 5, 2021
1 parent ff4eaa6 commit 1bd5f9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/src/AgoraRTM.m
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ - (AgoraRtmRemoteInvitation *)getRemoteInvitation:(NSDictionary *)params {
AgoraRtmRemoteInvitation *ret = nil;
NSDictionary *remoteInvitation = params[@"remoteInvitation"];
NSNumber *hash = remoteInvitation[@"hash"];
if (hash == nil) {
if (hash.intValue == 0) {
for (NSNumber *key in self.remoteInvitations) {
if ([self.remoteInvitations[key].callerId
isEqualToString:remoteInvitation[@"callerId"]]) {
Expand Down

0 comments on commit 1bd5f9a

Please sign in to comment.