Skip to main contentModule handle_prev_pdu
Source use futures::FutureExt; ๐ use ruma::CanonicalJsonObject; ๐ use ruma::EventId; ๐ use ruma::MilliSecondsSinceUnixEpoch; ๐ use ruma::RoomId; ๐ use ruma::RoomVersionId; ๐ use ruma::ServerName; ๐ use tuwunel_core::Err; ๐ use tuwunel_core::Result; ๐ use tuwunel_core::debug; ๐ use tuwunel_core::debug; ๐ use tuwunel_core::debug::INFO_SPAN_LEVEL; ๐ use tuwunel_core::debug_warn; ๐ use tuwunel_core::implement; ๐ use tuwunel_matrix::Event; ๐ use tuwunel_matrix::PduEvent; ๐ use tuwunel_matrix::pdu::RawPduId; ๐ use super::backoff::Context; ๐ use super::backoff::UPGRADE_RETRY; ๐
- PrevUpgrade ๐
- Context of an incoming event, shared across fetching and upgrading its
previous events, and upgrading the event itself.