base: Fix a clippy warning if the encryption feature is turned off
This commit is contained in:
parent
4fc21a8860
commit
b3cf2c5899
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue