The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(channels): require receipt scope to match channel and conversation
Steven Enamakel250f16967b81
diff --git a/crates/openhuman-core/src/channels/runtime/startup/progressive_transport.rs b/crates/openhuman-core/src/channels/runtime/startup/progressive_transport.rsindex 23325070d0..9d0c29d1f7 100644--- a/crates/openhuman-core/src/channels/runtime/startup/progressive_transport.rs+++ b/crates/openhuman-core/src/channels/runtime/startup/progressive_transport.rs@@ -227,19 +227,13 @@ fn receipt_matches_scope(channel: Option<&tinychannels_bus::ChannelRef>,conversation: Option<&tinychannels_bus::ConversationRef>,) -> bool {- receipt.channel.as_ref().is_none_or(|receipt_channel| {- channel.is_some_and(|channel| {- receipt_channel.id == channel.id && receipt_channel.account_id == channel.account_id- })+ receipt.channel.as_ref().is_some_and(|receipt_channel| {+ channel.is_some_and(|channel| receipt_channel == channel)}) && receipt.conversation.as_ref()- .is_none_or(|receipt_conversation| {- conversation.is_some_and(|conversation| {- receipt_conversation.id == conversation.id- && receipt_conversation.thread_id == conversation.thread_id- && receipt_conversation.topic_id == conversation.topic_id- })+ .is_some_and(|receipt_conversation| {+ conversation.is_some_and(|conversation| receipt_conversation == conversation)})}