Open broadcast controls when selecting the local stream

This commit is contained in:
evgeny committed 2026-10-19 12:54:43 +02:00
1 parent 62633bc924
commit 214498f892
1 file changed
+4 -2
+4 -2
View File
@@ -506,8 +506,10 @@ MessageList::MessageList(DbManager* db, AudioRecorder* recorder, QWidget *parent
qPrintable(channel), qPrintable(m_currentChannelId));
return;
}
DEBUG_INFO(DEBUG_CATEGORY_STREAM, "desktop selected stream group=%s source=%llx epoch=%llx",
qPrintable(channel), (unsigned long long)source.id, (unsigned long long)source.epoch);
DEBUG_INFO(DEBUG_CATEGORY_STREAM, "desktop selected stream group=%s source=%llx epoch=%llx action=%s",
qPrintable(channel), (unsigned long long)source.id, (unsigned long long)source.epoch,
source.self ? "manage" : "watch");
if (source.self) { emit streamPublishRequested(channel.toULongLong()); return; }
emit streamRequested(channel.toULongLong(), source.id, source.epoch, source.name);
};
if (m_streamSources.size() == 1) { watch(m_streamSources.first()); return; }