matrix-sdk: Fix a clippy warning
parent
77c2a4ed4f
commit
9863bc4a1c
|
@ -292,12 +292,9 @@ impl Handler {
|
||||||
room: Room,
|
room: Room,
|
||||||
event: &AnyRoomAccountDataEvent,
|
event: &AnyRoomAccountDataEvent,
|
||||||
) {
|
) {
|
||||||
match event {
|
if let AnyRoomAccountDataEvent::FullyRead(event) = event {
|
||||||
AnyRoomAccountDataEvent::FullyRead(event) => {
|
|
||||||
self.on_non_room_fully_read(room, &event).await
|
self.on_non_room_fully_read(room, &event).await
|
||||||
}
|
}
|
||||||
_ => {}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) async fn handle_account_data_event(&self, event: &AnyGlobalAccountDataEvent) {
|
pub(crate) async fn handle_account_data_event(&self, event: &AnyGlobalAccountDataEvent) {
|
||||||
|
|
Loading…
Reference in New Issue