rn: allow for userInfo and token to be set from the SDK

This commit is contained in:
Saúl Ibarra Corretgé 2019-11-14 12:06:19 +01:00 committed by Saúl Ibarra Corretgé
parent ffded8d82a
commit af6642b91b
2 changed files with 2 additions and 2 deletions

View File

@ -349,7 +349,7 @@ public class JitsiMeetConferenceOptions implements Parcelable {
urlProps.putString("jwt", token);
}
if (token == null && userInfo != null) {
if (userInfo != null) {
props.putBundle("userInfo", userInfo.asBundle());
}

View File

@ -225,7 +225,7 @@ static NSString *const WelcomePageEnabledFeatureFlag = @"welcomepage.enabled";
urlProps[@"jwt"] = _token;
}
if (_token == nil && _userInfo != nil) {
if (_userInfo != nil) {
props[@"userInfo"] = [self.userInfo asDict];
}