openvidu-server: remove timestampMillis from KmsEvent json

pull/255/head
pabloFuente 2019-03-27 16:02:37 +01:00
parent 6790cb9d48
commit ff53377925
1 changed files with 2 additions and 1 deletions

View File

@ -45,6 +45,7 @@ public class KmsEvent {
public JsonObject toJson() {
JsonObject json = JsonUtils.toJsonObject(event);
json.remove("tags");
json.remove("timestampMillis");
json.addProperty("timestamp", timestamp);
json.addProperty("session", participant.getSessionId());
json.addProperty("user", participant.getFinalUserId());
@ -53,7 +54,7 @@ public class KmsEvent {
json.addProperty("msSinceEndpointCreation", msSinceCreation);
return json;
}
public long getTimestamp() {
return this.timestamp;
}