Skip to content
Snippets Groups Projects
Commit 5a5e896a authored by Kateryna Kostiuk's avatar Kateryna Kostiuk Committed by Kateryna Kostiuk
Browse files

settings: use app local storage for recording

Set application container as path for audio/video recordings in
the chat.

jami-client-qt#672

Change-Id: I39ad0a72fc36b7dc2c5a3d50da5fa2c9b6fa78bc
parent e6cc67f1
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment