Page MenuHomePhabricator

D6747.diff
No OneTemporary

D6747.diff

diff --git a/services/tunnelbroker/src/libcpp/Tunnelbroker.cpp b/services/tunnelbroker/src/libcpp/Tunnelbroker.cpp
--- a/services/tunnelbroker/src/libcpp/Tunnelbroker.cpp
+++ b/services/tunnelbroker/src/libcpp/Tunnelbroker.cpp
@@ -170,6 +170,11 @@
}
void updateSessionItemIsOnline(rust::Str sessionID, bool isOnline) {
+ if (comm::network::config::ConfigManager::getInstance().isParameterSet(
+ comm::network::config::ConfigManager::
+ OPTION_SESSIONS_SKIP_AUTH_KEY)) {
+ return;
+ }
comm::network::database::DatabaseManager::getInstance()
.updateSessionItemIsOnline(std::string{sessionID}, isOnline);
}

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 6:06 AM (13 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2567165
Default Alt Text
D6747.diff (647 B)

Event Timeline