Expand description
Appends authenticated events to room timelines and applies their side effects.
Incoming events first receive a state snapshot, while accepted events are assigned a normal stream count and committed to the timeline. Subsequent cache, indexing, notification, and membership effects are coordinated here.
Re-exportsΒ§
use std::collections::btree_map::Entry;πuse std::sync::Arc;πuse ruma::CanonicalJsonObject;πuse ruma::CanonicalJsonValue;πuse ruma::EventId;πuse ruma::UserId;πuse ruma::events::TimelineEventType;πuse ruma::events::receipt::ReceiptThread;πuse ruma::events::relation::RelationType;πuse ruma::events::room::encrypted::Relation;πuse ruma::events::room::member::MembershipState;πuse ruma::events::room::member::RoomMemberEventContent;πuse tuwunel_core::Result;πuse tuwunel_core::debug_warn;πuse tuwunel_core::err;πuse tuwunel_core::error;πuse tuwunel_core::error;πuse tuwunel_core::implement;πuse tuwunel_core::smallvec::SmallVec;πuse tuwunel_core::utils::OptionExt;πuse tuwunel_core::utils::result::LogErr;πuse tuwunel_core::utils::result::NotFound;πuse tuwunel_database::Json;πuse tuwunel_matrix::event::Event;πuse tuwunel_matrix::pdu::PduCount;πuse tuwunel_matrix::pdu::PduEvent;πuse tuwunel_matrix::pdu::PduId;πuse tuwunel_matrix::pdu::RawPduId;πuse tuwunel_matrix::room_version;πuse super::ExtractBody;πuse super::ExtractRelatesTo;πuse super::ExtractRelatesToEventId;πuse super::RoomMutexGuard;πuse super::bias_count;πuse crate::admin::CommandInput;πuse crate::rooms::read_receipt::PrivateRead;πuse crate::rooms::short::ShortRoomId;πuse crate::rooms::short::ShortStateHash;πuse crate::rooms::state_accessor::plain_text_topic;πuse crate::rooms::state_cache::MembershipUpdate;πuse crate::rooms::state_compressor::CompressedState;π
StructsΒ§
FunctionsΒ§
- nonempty_
band π - prev_
state_ πunsigned - with_
prev_ πunsigned - Fill a state eventβs
unsignedfrom the event it replaced.
Type AliasesΒ§
- Band π