Show active publisher shortcut in desktop channel header

This commit is contained in:
evgeny committed 2026-10-20 19:46:32 +02:00
1 parent 0be7a19def
commit 4adff4d920
3 files changed
+38 -1

No files matched your search

+1
View File
@@ -671,6 +671,7 @@ void MainWindow::setupConnects() {
if (!m_streamPublisher) {
m_streamPublisher = new StreamPublishEngine(this);
connect(m_streamPublisher, &StreamPublishEngine::stateChanged, this, [this](const QString& state) {
m_messageList->setStreamPublisherGroup(m_streamPublisher->active() ? m_streamPublisher->group() : 0);
if (m_trayIcon) m_trayIcon->setToolTip(m_streamPublisher->active() ? QStringLiteral("vibechat · ") + state : QStringLiteral("vibechat"));
});
}