Skip to main content

project_message_span

Function project_message_span 

Source
pub async fn project_message_span(
    pool: &SqlitePool,
    channels: &dyn ChannelIds,
    message: &LoggedMessage,
) -> Result<()>
Expand description

Index a user message from the host’s log as a searchable span. The host passes only messages memory may learn from. channels derives the span’s channel from its session.