From d7e167498d81722f4db47c33a919b556ebb75187 Mon Sep 17 00:00:00 2001 From: L3af Date: Sat, 29 May 2021 04:31:25 +0000 Subject: [PATCH] docs: fix on_room_join_rules --- matrix_sdk/src/event_handler/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_sdk/src/event_handler/mod.rs b/matrix_sdk/src/event_handler/mod.rs index 3290ef68..53c46784 100644 --- a/matrix_sdk/src/event_handler/mod.rs +++ b/matrix_sdk/src/event_handler/mod.rs @@ -379,7 +379,7 @@ pub trait EventHandler: Send + Sync { async fn on_room_redaction(&self, _: Room, _: &SyncRedactionEvent) {} /// Fires when `Client` receives a `RoomEvent::RoomPowerLevels` event. async fn on_room_power_levels(&self, _: Room, _: &SyncStateEvent) {} - /// Fires when `Client` receives a `RoomEvent::Tombstone` event. + /// Fires when `Client` receives a `RoomEvent::RoomJoinRules` event. async fn on_room_join_rules(&self, _: Room, _: &SyncStateEvent) {} /// Fires when `Client` receives a `RoomEvent::Tombstone` event. async fn on_room_tombstone(&self, _: Room, _: &SyncStateEvent) {}