Return whether event already existed from event_handler.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk
2025-11-18 16:38:17 +00:00
parent 0746f4b1ad
commit dafbe59d00
7 changed files with 13 additions and 9 deletions

View File

@@ -33,7 +33,7 @@ use crate::rooms::{short::ShortRoomId, state_compressor::CompressedState};
skip_all,
ret(Debug)
)]
pub async fn append_incoming_pdu<'a, Leafs>(
pub(crate) async fn append_incoming_pdu<'a, Leafs>(
&'a self,
pdu: &'a PduEvent,
pdu_json: CanonicalJsonObject,