mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: remove timestampMillis from KmsEvent json
parent
6790cb9d48
commit
ff53377925
|
@ -45,6 +45,7 @@ public class KmsEvent {
|
||||||
public JsonObject toJson() {
|
public JsonObject toJson() {
|
||||||
JsonObject json = JsonUtils.toJsonObject(event);
|
JsonObject json = JsonUtils.toJsonObject(event);
|
||||||
json.remove("tags");
|
json.remove("tags");
|
||||||
|
json.remove("timestampMillis");
|
||||||
json.addProperty("timestamp", timestamp);
|
json.addProperty("timestamp", timestamp);
|
||||||
json.addProperty("session", participant.getSessionId());
|
json.addProperty("session", participant.getSessionId());
|
||||||
json.addProperty("user", participant.getFinalUserId());
|
json.addProperty("user", participant.getFinalUserId());
|
||||||
|
|
Loading…
Reference in New Issue