Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(rpc): pass dispatch context to local session check

Steven Enamakel6587e02b9fcf
diff --git a/crates/openhuman-rpc/src/server/socketio.rs b/crates/openhuman-rpc/src/server/socketio.rs
index ff370fd28c..c78514c734 100644
--- a/crates/openhuman-rpc/src/server/socketio.rs
+++ b/crates/openhuman-rpc/src/server/socketio.rs
@@ -736,6 +736,7 @@ pub fn spawn_web_channel_bridge(io: SocketIo) {
// a contradictory sign-out event from this independent bus
// consumer. Real JWT expiry still broadcasts as before.
if crate::core_host::security::credentials::session_support::current_session_is_local(
+ &crate::core_host::core::runtime::DispatchCtx::process_default(),
)
.await
{