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