Decouple file network test from temporary packet logs

This commit is contained in:
evgeny committed 2026-10-18 15:10:57 +02:00
1 parent 0e2253cdc8
commit f6f8647091
3 files changed
+12 -8

No files matched your search

-4
View File
@@ -464,14 +464,10 @@ void MainWindow::setupBridgeCallbacks() {
s_mainWindow->m_channelList->setCpuLoad(percent);
});
gui_bridge_set_member_files_response_cb([](const uint8_t* data, int length) {
DEBUG_DEBUG(DEBUG_CATEGORY_DEBUG, "member_files: GUI response route bytes=%d browser=%d",
length, (int)(s_mainWindow && s_mainWindow->m_fileBrowser));
if (s_mainWindow && s_mainWindow->m_fileBrowser) s_mainWindow->m_fileBrowser->onResponse(data, length);
if (AvatarManager::instance()) AvatarManager::instance()->onResponse(data, length);
});
gui_bridge_set_member_files_transfer_cb([](const uint8_t* data, int length) {
DEBUG_TRACE(DEBUG_CATEGORY_DEBUG, "member_files: GUI progress route bytes=%d browser=%d",
length, (int)(s_mainWindow && s_mainWindow->m_fileBrowser));
if (s_mainWindow && s_mainWindow->m_fileBrowser) s_mainWindow->m_fileBrowser->onTransfer(data, length);
if (AvatarManager::instance()) AvatarManager::instance()->onTransfer(data, length);
});