mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-13 04:06:54 +00:00
style: Don't log warnings when receiving unrecognised PDUs
This commit is contained in:
1 file changed
+3
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user