Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(call): compile the team-memory helper only with the ports feature (#7912)

teo8cea74bab5bc
diff --git a/crates/call/src/domain/models.rs b/crates/call/src/domain/models.rs
index 724d1cc707..6ce6224b9f 100644
--- a/crates/call/src/domain/models.rs
+++ b/crates/call/src/domain/models.rs
@@ -689,6 +689,7 @@ impl From<TeamSharePolicyError> for CallError {
/// Team memory may only include calls associated with a channel.
/// Standalone invitations and their records always keep team sharing disabled.
+#[cfg(feature = "ports")]
pub(crate) fn permitted_team_memory_intent(channel_id: Option<Uuid>, enabled: bool) -> bool {
channel_id.is_some() && enabled
}