Skip to main contentModule receipts
Source use std::collections::BTreeMap; π use std::sync::atomic::AtomicU64; π use std::sync::atomic::AtomicUsize; π use std::sync::atomic::Ordering; π use futures::Stream; π use futures::StreamExt; π use futures::pin_mut; π use ruma::OwnedEventId; π use ruma::OwnedRoomId; π use ruma::OwnedUserId; π use ruma::RoomId; π use ruma::ServerName; π use ruma::UserId; π use ruma::api::federation::transactions::edu::Edu; π use ruma::api::federation::transactions::edu::ReceiptContent; π use ruma::api::federation::transactions::edu::ReceiptData; π use ruma::api::federation::transactions::edu::ReceiptMap; π use ruma::events::AnySyncEphemeralRoomEvent; π use ruma::events::receipt::Receipt; π use ruma::events::receipt::ReceiptEventContent; π use ruma::events::receipt::ReceiptType; π use ruma::serde::Raw; π use tuwunel_core::error; π use tuwunel_core::error; π use tuwunel_core::implement; π use tuwunel_core::smallvec::SmallVec; π use tuwunel_core::utils::BoolExt; π use tuwunel_core::utils::ReadyExt; π use tuwunel_core::utils::stream::BroadbandExt; π use super::Selected; π use super::edu_buf; π use crate::sending::EduBuf; π use crate::sending::Service; π
- USER_LIMIT π
- own_read_receipt π
- The event and receipt a userβs own read receipt names.
- parse_receipt π
- rank_receipts π
- Pivot a roomβs count-ordered receipts into rank-major order.
- serialize_edu π
- RankReceipts π
- The ranks of every room gathered for one federation EDU window.
- RankedReceipts π
- Per-rank slice of receipt EDU output.
- Receipts π
- The
receipts field of one Edu::Receipt, keyed by room.