openvidu-java-client: get customSessionId from json response
This commit is contained in:
parent
c917164657
commit
e30b365f1d
@ -513,6 +513,8 @@ public class Session {
|
||||
}
|
||||
if (this.properties != null && this.properties.customSessionId() != null) {
|
||||
builder.customSessionId(this.properties.customSessionId());
|
||||
} else if (json.containsKey("customSessionId")) {
|
||||
builder.customSessionId((String) json.get("customSessionId"));
|
||||
}
|
||||
this.properties = builder.build();
|
||||
JSONArray jsonArrayConnections = (JSONArray) ((JSONObject) json.get("connections")).get("content");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user