Move legacy sound and attachment errors to media

This commit is contained in:
evgeny committed 2026-10-05 21:30:37 +02:00
1 parent 0773a82342
commit 8982bb034e
3 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -347,7 +347,7 @@ void InputBar::onAttachClicked() {
GUI_INFO("InputBar: PM attachment selected name=%s bytes=%lld", qPrintable(fi.fileName()), (long long)fi.size());
return;
}
if (fi.size() == 0) { DEBUG_WARN(DEBUG_CATEGORY_DEBUG, "InputBar::onAttachClicked: empty file"); return; }
if (fi.size() == 0) { DEBUG_WARN(DEBUG_CATEGORY_MEDIA, "InputBar::onAttachClicked: empty file"); return; }
QString mediaPath = m_mediaDirBase + "/" + m_channelIdForRecord;
VoiceEncoder::ensureMediaDir(mediaPath);