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): match receipts by channel id and optional account
Steven Enamakelc57cfd4c9f12
diff --git a/crates/openhuman-core/src/channels/runtime/startup/progressive_transport.rs b/crates/openhuman-core/src/channels/runtime/startup/progressive_transport.rsindex b7457bb084..6bca275efc 100644--- a/crates/openhuman-core/src/channels/runtime/startup/progressive_transport.rs+++ b/crates/openhuman-core/src/channels/runtime/startup/progressive_transport.rs@@ -226,7 +226,15 @@ fn receipt_matches_scope(receipt.channel.as_ref()- .is_some_and(|receipt_channel| channel.is_some_and(|channel| receipt_channel == channel))+ .is_some_and(|receipt_channel| {+ // Provider adapters stamp receipts with the provider id only; a+ // receipt that names an account must name the scoped one.+ channel.is_some_and(|channel| {+ receipt_channel.id == channel.id+ && (receipt_channel.account_id.is_none()+ || receipt_channel.account_id == channel.account_id)+ })+ })&& receipt.conversation.as_ref()