diff --git a/tools/chatgui/src/messagelist.cpp b/tools/chatgui/src/messagelist.cpp index db43829a..a01d85e0 100644 --- a/tools/chatgui/src/messagelist.cpp +++ b/tools/chatgui/src/messagelist.cpp @@ -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; }