From 5a5e896afb1850eab90bd6caed3e883d12479814 Mon Sep 17 00:00:00 2001 From: kkostiuk <kateryna.kostiuk@savoirfairelinux.com> Date: Tue, 8 Feb 2022 10:12:36 -0500 Subject: [PATCH] settings: use app local storage for recording Set application container as path for audio/video recordings in the chat. https://git.jami.net/savoirfairelinux/jami-client-qt/-/issues/672 Change-Id: I39ad0a72fc36b7dc2c5a3d50da5fa2c9b6fa78bc --- src/avmodel.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/avmodel.cpp b/src/avmodel.cpp index d5629843..42600a90 100644 --- a/src/avmodel.cpp +++ b/src/avmodel.cpp @@ -728,12 +728,7 @@ AVModelPimpl::AVModelPimpl(AVModel& linked, const CallbacksHandler& callbacksHan QString AVModelPimpl::getRecordingPath() const { -#if defined(_WIN32) || defined(__APPLE__) - const QDir dir = linked_.getRecordPath() + "/" + recorderSavesSubdir; -#else const QDir dir = authority::storage::getPath() + "/" + recorderSavesSubdir; -#endif - dir.mkpath("."); std::chrono::time_point<std::chrono::system_clock> time_now = std::chrono::system_clock::now(); -- GitLab