mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-07 23:44:53 -04:00
base: Fix a clippy warning if the encryption feature is turned off
This commit is contained in:
@@ -430,6 +430,7 @@ impl BaseClient {
|
||||
let mut push_context = self.get_push_room_context(room, room_info, changes).await?;
|
||||
|
||||
for event in ruma_timeline.events {
|
||||
#[allow(unused_mut)]
|
||||
let mut event: SyncRoomEvent = event.into();
|
||||
|
||||
match hoist_room_event_prev_content(&event.event) {
|
||||
|
||||
Reference in New Issue
Block a user