Skip to main contentModule notification
Source use std::collections::BTreeMap; ๐ use std::fmt::Debug; ๐ use std::fmt::Debug; ๐ use futures::StreamExt; ๐ use futures::future::join3; ๐ use futures::stream::select; ๐ use ruma::EventId; ๐ use ruma::OwnedEventId; ๐ use ruma::RoomId; ๐ use ruma::UserId; ๐ use ruma::events::receipt::ReceiptThread; ๐ use serde::Serialize; ๐ use serde::Serialize; ๐ use tuwunel_core::Error; ๐ use tuwunel_core::Result; ๐ use tuwunel_core::implement; ๐ use tuwunel_core::trace; ๐ use tuwunel_core::utils::bytes::escape_bytes; ๐ use tuwunel_core::utils::bytes::u64_from_bytes; ๐ use tuwunel_core::utils::stream::BroadbandExt; ๐ use tuwunel_core::utils::stream::ReadyExt; ๐ use tuwunel_core::utils::stream::TryIgnore; ๐ use tuwunel_core::warn; ๐ use tuwunel_database::Deserialized; ๐ use tuwunel_database::Ignore; ๐ use tuwunel_database::IgnoreAll; ๐ use tuwunel_database::Interfix; ๐ use tuwunel_database::KeyBuf; ๐ use tuwunel_database::deserialize_from_slice as deserialize_key; ๐ use tuwunel_matrix::Event; ๐
- highlight_kv ๐
- merge_thread_count ๐
- notification_kv ๐
- warn_unreadable ๐
- ThreadCounts ๐
- Per-thread unread counts:
(notification, highlight) keyed by thread root. - ThreadLastReads ๐
- Per-thread last-read counts keyed by thread root.