diff --git a/src/main/java/org/jitsi/jigasi/TranscriptionGatewaySession.java b/src/main/java/org/jitsi/jigasi/TranscriptionGatewaySession.java index cdc3d92cd..06ee29097 100644 --- a/src/main/java/org/jitsi/jigasi/TranscriptionGatewaySession.java +++ b/src/main/java/org/jitsi/jigasi/TranscriptionGatewaySession.java @@ -333,11 +333,11 @@ void notifyChatRoomMemberLeft(ChatRoomMember chatMember) // give some time for the transcriptions for this participant to be ready leaveThreadPool.schedule(() -> { - this.transcriber.participantLeft(identifier); synchronized (this) { numberOfScheduledParticipantsLeaving--; } + this.transcriber.participantLeft(identifier); }, PRESENCE_UPDATE_WAIT_UNTIL_LEAVE_DURATION, TimeUnit.MILLISECONDS