From 2b7ab824012b142bf51b017d6454226168bd55e5 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Sat, 11 Sep 2021 22:32:50 +0200 Subject: [PATCH] state-res: Remove unneeded `.as_deref()` call --- crates/ruma-state-res/src/event_auth.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ruma-state-res/src/event_auth.rs b/crates/ruma-state-res/src/event_auth.rs index 0bcea39c..c4106c77 100644 --- a/crates/ruma-state-res/src/event_auth.rs +++ b/crates/ruma-state-res/src/event_auth.rs @@ -235,7 +235,7 @@ where sender, sender_member_event.as_deref(), incoming_event.content(), - prev_event.as_deref(), + prev_event, current_third_party_invite, power_levels_event.as_deref(), fetch_state(&EventType::RoomJoinRules, "").as_deref(),