diff --git a/src/main/java/org/jitsi/jigasi/transcription/LocalJsonTranscriptHandler.java b/src/main/java/org/jitsi/jigasi/transcription/LocalJsonTranscriptHandler.java index 861cc3327..9fe5eb1eb 100644 --- a/src/main/java/org/jitsi/jigasi/transcription/LocalJsonTranscriptHandler.java +++ b/src/main/java/org/jitsi/jigasi/transcription/LocalJsonTranscriptHandler.java @@ -335,7 +335,7 @@ public static void addEventDescriptions( JSONObject jsonObject, TranscriptEvent e) { jsonObject.put(JSON_KEY_EVENT_EVENT_TYPE, e.getEvent().toString()); - jsonObject.put(JSON_KEY_EVENT_TIMESTAMP, String.valueOf(e.getTimeStamp().toEpochMilli())); + jsonObject.put(JSON_KEY_EVENT_TIMESTAMP, e.getTimeStamp().toEpochMilli()); JSONObject participantJson = new JSONObject(); diff --git a/src/main/java/org/jitsi/jigasi/transcription/RemotePublisherTranscriptionHandler.java b/src/main/java/org/jitsi/jigasi/transcription/RemotePublisherTranscriptionHandler.java index 337ad4405..97d35e2df 100644 --- a/src/main/java/org/jitsi/jigasi/transcription/RemotePublisherTranscriptionHandler.java +++ b/src/main/java/org/jitsi/jigasi/transcription/RemotePublisherTranscriptionHandler.java @@ -99,7 +99,7 @@ else if (event.getEvent() == Transcript.TranscriptEventType.START object.put(JSON_KEY_EVENT_EVENT_TYPE, event.getEvent().toString()); object.put(JSON_KEY_EVENT_TIMESTAMP, - String.valueOf(event.getTimeStamp().toEpochMilli())); + event.getTimeStamp().toEpochMilli()); } for (String url : urls) diff --git a/src/main/java/org/jitsi/jigasi/transcription/action/ActionServicesHandler.java b/src/main/java/org/jitsi/jigasi/transcription/action/ActionServicesHandler.java index 32320bd1e..3807ec83d 100644 --- a/src/main/java/org/jitsi/jigasi/transcription/action/ActionServicesHandler.java +++ b/src/main/java/org/jitsi/jigasi/transcription/action/ActionServicesHandler.java @@ -250,7 +250,7 @@ public void notifyActionServices( object.put(LocalJsonTranscriptHandler.JSON_KEY_EVENT_EVENT_TYPE, event.getEvent().toString()); object.put(LocalJsonTranscriptHandler.JSON_KEY_EVENT_TIMESTAMP, - String.valueOf(event.getTimeStamp().toEpochMilli())); + event.getTimeStamp().toEpochMilli()); for (ActionHandler handler : actionSources.remove(roomName)) {