mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: restore createdAt property for json Participant
parent
d0e684487a
commit
a43ccf7441
|
@ -211,6 +211,7 @@ public class Participant {
|
||||||
public JsonObject toJson() {
|
public JsonObject toJson() {
|
||||||
JsonObject json = new JsonObject();
|
JsonObject json = new JsonObject();
|
||||||
json.addProperty("connectionId", this.participantPublicId);
|
json.addProperty("connectionId", this.participantPublicId);
|
||||||
|
json.addProperty("createdAt", this.createdAt);
|
||||||
json.addProperty("location", this.location != null ? this.location.toString() : "unknown");
|
json.addProperty("location", this.location != null ? this.location.toString() : "unknown");
|
||||||
json.addProperty("platform", this.platform);
|
json.addProperty("platform", this.platform);
|
||||||
json.addProperty("token", this.token.getToken());
|
json.addProperty("token", this.token.getToken());
|
||||||
|
|
Loading…
Reference in New Issue