From 1d172be503375ff76838dc6e4a0c4c56d0ce8c14 Mon Sep 17 00:00:00 2001 From: timedout Date: Mon, 25 May 2026 17:55:44 +0100 Subject: [PATCH] style: Authentication -> authorization --- .../rooms/event_handler/upgrade_outlier_pdu.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/service/rooms/event_handler/upgrade_outlier_pdu.rs b/src/service/rooms/event_handler/upgrade_outlier_pdu.rs index 1e9c194c7..79769ca7f 100644 --- a/src/service/rooms/event_handler/upgrade_outlier_pdu.rs +++ b/src/service/rooms/event_handler/upgrade_outlier_pdu.rs @@ -1,17 +1,17 @@ use std::{borrow::Borrow, collections::BTreeMap, sync::Arc, time::Instant}; use conduwuit::{ - Err, Result, debug, debug_info, debug_warn, err, implement, is_equal_to, - matrix::{Event, EventTypeExt, PduEvent, StateKey, state_res}, - trace, + debug, debug_info, debug_warn, err, implement, is_equal_to, matrix::{state_res, Event, EventTypeExt, PduEvent, StateKey}, trace, utils::{ - IterStream, stream::{BroadbandExt, ReadyExt}, + IterStream, }, warn, + Err, + Result, }; -use futures::{FutureExt, StreamExt, future::ready}; -use ruma::{CanonicalJsonValue, RoomId, ServerName, events::StateEventType}; +use futures::{future::ready, FutureExt, StreamExt}; +use ruma::{events::StateEventType, CanonicalJsonValue, RoomId, ServerName}; use tokio::join; use super::get_room_version_rules; @@ -163,7 +163,7 @@ where if !auth_check { warn!( event_id = %incoming_pdu.event_id, - "Event authentication fails based on the current state of the room" + "Event authorization fails based on the current state of the room" ); }