fix(chatgui): remove duplicate loadChannels after JoinDialog close, remove 800ms delay

- showJoinDialog: don't call loadChannels after dialog close — channel already in model via CHANNEL_UPDATED event, online badge via CHANNEL_PEERS_ONLINE. Duplicate loadChannels was resetting the peer online count.
- onConnectResult: remove 800ms QTimer — dialog closes immediately. Channel data arrives independently through the event pipeline.
This commit is contained in:
Evgeny committed 2026-07-19 10:50:25 +03:00
1 parent 3a7b359f87
commit 9de16be012
2 files changed
+5 -8

No files matched your search

+1 -2
View File
@@ -267,8 +267,7 @@ void MainWindow::showJoinDialog() {
}
JoinDialog dlg(m_node, m_db, this, autoLink);
if (dlg.exec() == QDialog::Accepted)
m_channelList->loadChannels();
dlg.exec();
}
void MainWindow::showSettings() {