INNER CODE UNIT · Rust
cleanup_thread_memberships_for_name_reuse
aannoo/hcom · src/db/mod.rs:963
pub fn cleanup_thread_memberships_for_name_reuse(&self, name: &str) -> Result<u32> {
// Delegates to db::subscriptions; events_sub: kv ownership lives there.
subscriptions::cleanup_thread_memberships_for_name_reuse(self, name)
}
/// Return active members of a thread in join order.
pub fn get_thread_members(&self, thread: &str) -> Vec<String> {
// Delegates to db::subscriptions; events_sub: kv ownership lives there.
subscriptions::get_thread_members(self, thread)
}
/// Upsert memberships for recipients of a thread message.
pub fn add_thread_memberships(
&self,
thread: &str,
sender: Option<&str>,
recipients: &[String],
) {