Skip to content

Commit

Permalink
Fix avatar error
Browse files Browse the repository at this point in the history
  • Loading branch information
djorkaeffalexandre committed Feb 18, 2020
1 parent 2317238 commit 351789a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ios/RNJitsiMeetViewManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ - (UIView *)view
_userInfo.email = userInfo[@"email"];
}
if (userInfo[@"avatar"] != NULL) {
_userInfo.avatar = userInfo[@"avatar"];
_userInfo.avatar = [NSURL URLWithString:userInfo[@"avatar"]];
}
}
dispatch_sync(dispatch_get_main_queue(), ^{
Expand All @@ -60,7 +60,7 @@ - (UIView *)view
_userInfo.email = userInfo[@"email"];
}
if (userInfo[@"avatar"] != NULL) {
_userInfo.avatar = userInfo[@"avatar"];
_userInfo.avatar = [NSURL URLWithString:userInfo[@"avatar"]];
}
}
dispatch_sync(dispatch_get_main_queue(), ^{
Expand Down Expand Up @@ -118,4 +118,4 @@ - (void)enterPictureInPicture:(NSDictionary *)data {
jitsiMeetView.onEnteredPip(data);
}

@end
@end

0 comments on commit 351789a

Please sign in to comment.