rn: allow for userInfo and token to be set from the SDK
This commit is contained in:
parent
ffded8d82a
commit
af6642b91b
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue