conn_mgr: race connection probes and report call path with correct RTT

This commit is contained in:
evgeny committed 2026-10-01 00:42:47 +03:00
1 parent 1c51df039f
commit 111432aa64
26 files changed
+1112 -995

No files matched your search

+5
View File
@@ -465,6 +465,11 @@ void MainWindow::setupBridgeCallbacks() {
gui_bridge_set_call_path_cb([](uint64_t call_id, const char* text, int len) {
if (s_mainWindow) s_mainWindow->onCallPath(call_id, QString::fromUtf8(text, len));
});
gui_bridge_set_call_connection_cb([](uint64_t id, uint8_t type, uint64_t nextHop) {
if (!s_mainWindow) return;
auto* w = s_mainWindow->m_activeCalls.value(id, nullptr);
if (w && w->state() != CallWindow::Ended) w->setConnectionType(type, nextHop);
});
/* ── рация: индикация говорящего ── */
gui_bridge_set_radio_talk_cb([](uint64_t group_id, uint64_t src_node_id, uint8_t on) {