Collect group actions in the conversation header menu
This commit is contained in:
1 parent
42efbbc7da
commit
b14bfa95c2
3 files changed
+60
-23
No files matched your search
@@ -599,17 +599,18 @@ void MainWindow::setupConnects() {
|
||||
gui_bridge_post_uasync_fn(chat_core_connect_channel_trampoline, arg);
|
||||
}
|
||||
});
|
||||
connect(m_channelList, &ChannelList::inviteRequested, this, &MainWindow::showShareInviteDialog);
|
||||
connect(m_channelList, &ChannelList::inviteByLinkRequested, this, &MainWindow::showInviteByLinkDialog);
|
||||
connect(m_messageList, &MessageList::shareInviteRequested, this, &MainWindow::showShareInviteDialog);
|
||||
connect(m_messageList, &MessageList::inviteByLinkRequested, this, &MainWindow::showInviteByLinkDialog);
|
||||
connect(m_channelList, &ChannelList::joinRequested, this, &MainWindow::showJoinDialog);
|
||||
connect(m_channelList, &ChannelList::createGroupRequested, this, &MainWindow::onCreateGroupRequested);
|
||||
connect(m_channelList, &ChannelList::settingsRequested, this, &MainWindow::showSettings);
|
||||
connect(m_channelList, &ChannelList::connMonitorRequested, this, &MainWindow::showConnMonitor);
|
||||
connect(m_channelList, &ChannelList::channelSettingsRequested, this, &MainWindow::showChannelSettings);
|
||||
connect(m_messageList, &MessageList::channelSettingsRequested, this, &MainWindow::showChannelSettings);
|
||||
connect(m_accountList, &AccountList::memberRenamed,
|
||||
m_messageList, &MessageList::reloadLocalNicks);
|
||||
connect(m_accountList, &AccountList::filesRequested, this, &MainWindow::showMemberFiles);
|
||||
connect(m_channelList, &ChannelList::filesRequested, this, [this](const QString& channel) { showMemberFiles(channel); });
|
||||
connect(m_messageList, &MessageList::filesRequested, this, [this](const QString& channel) { showMemberFiles(channel); });
|
||||
connect(m_messageList, &MessageList::ownFilesRequested, this, [this](const QString& channel) {
|
||||
quint64 owner = m_db ? m_db->myNodeId() : 0;
|
||||
if (!channel.toULongLong() || !owner) {
|
||||
|
||||
Reference in new issue
Block a user