chore: Drop unused param from handle_outlier_pdu

This commit is contained in:
timedout authored and Jade Ellis committed 2026-06-27 20:29:09 +01:00
1 parent 6ca3acbeff
commit 6343b62778
5 files changed
+2 -6

No files matched your search

@@ -281,7 +281,6 @@ impl super::Service {
&discovered_event_id,
room_id,
pdu_json,
true,
))
.await
{
@@ -104,7 +104,7 @@ impl super::Service {
let obj = mapped.get(event_id).cloned().unwrap();
let persist_start = Instant::now();
match self
.handle_outlier_pdu(origin, create_event, event_id, room_id, obj, false)
.handle_outlier_pdu(origin, create_event, event_id, room_id, obj)
.await
{
| Ok((pdu, val)) if pdu.origin_server_ts() >= first_ts_in_room => {
@@ -331,7 +331,6 @@ impl super::Service {
&incoming_event_id,
&incoming_room_id,
incoming_event_json,
true,
)
.await
.inspect_err(|e| {
@@ -368,7 +367,6 @@ impl super::Service {
&incoming_event_id,
&incoming_room_id,
incoming_event_json,
true,
)
.await
.inspect_err(|e| {
@@ -228,7 +228,7 @@ impl super::Service {
}}
let (incoming_pdu, val) = self
.handle_outlier_pdu(origin, create_event, event_id, room_id, value, false)
.handle_outlier_pdu(origin, create_event, event_id, room_id, value)
.await?;
// 8. if not timeline event: stop
@@ -26,7 +26,6 @@ impl super::Service {
event_id: &'a EventId,
room_id: &'a RoomId,
mut value: CanonicalJsonObject,
_auth_events_known: bool,
) -> Result<(PduEvent, BTreeMap<String, CanonicalJsonValue>)>
where
Pdu: Event + Send + Sync,