From e822173beb007f4e80c33f168e5ed0f8886177a4 Mon Sep 17 00:00:00 2001 From: Ivan Sein Date: Thu, 26 Sep 2024 21:49:39 +0200 Subject: [PATCH] Fix if condition on cellWantsToPlayAudioFile. Signed-off-by: Ivan Sein --- NextcloudTalk/BaseChatViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NextcloudTalk/BaseChatViewController.swift b/NextcloudTalk/BaseChatViewController.swift index 3ac045f55..92717fffb 100644 --- a/NextcloudTalk/BaseChatViewController.swift +++ b/NextcloudTalk/BaseChatViewController.swift @@ -3221,7 +3221,7 @@ import QuickLook if let voiceMessagesPlayer = self.voiceMessagesPlayer, let playerAudioFileStatus = self.playerAudioFileStatus, - voiceMessagesPlayer.isPlaying, + !voiceMessagesPlayer.isPlaying, fileParameter.parameterId == playerAudioFileStatus.fileId, fileParameter.path == playerAudioFileStatus.filePath {