Connect the all-streams window to chat actions and service lifetime

This commit is contained in:
evgeny committed 2026-10-20 16:39:50 +02:00
1 parent bad9ee3a0c
commit fd05ec47ab
3 files changed
+19 -2

No files matched your search

+1 -1
View File
@@ -539,7 +539,7 @@ MessageList::MessageList(DbManager* db, AudioRecorder* recorder, QWidget *parent
if (!channel.toULongLong()) return;
auto text = [](const char* s) { return QCoreApplication::translate("ChatGui", s); };
QMenu menu(this);
const bool own = std::any_of(m_streamSources.begin(), m_streamSources.end(), [](const LiveSource& source) { return source.self; });
const bool own = std::any_of(m_streamSources.begin(), m_streamSources.end(), [](const LiveStreamSource& source) { return source.self; });
auto* publish = menu.addAction(text(own ? "Manage stream" : "Start stream"));
menu.addSeparator();
auto* files = menu.addAction(text("Group files"));