style: Don't log warnings when receiving unrecognised PDUs

This commit is contained in:
timedout committed 2026-08-30 21:16:07 +01:00
1 parent f92032f6da
commit dbe4d0035a
1 file changed
+3 -3
+3 -3
View File
@@ -151,11 +151,11 @@ async fn process_inbound_transaction(
{
| Ok(pdu) => Some(pdu),
| Err(error) => {
if !services
let queued = services
.rooms
.event_handler
.queue_pending_join_pdu(&body.identity, pdu.clone())
{
.queue_pending_join_pdu(&body.identity, pdu.clone());
if !queued && !error.is_not_found() {
warn!("Could not parse incoming PDU: {error}");
}
None