base: Fix a clippy warning if the encryption feature is turned off
parent
4fc21a8860
commit
b3cf2c5899
|
@ -430,6 +430,7 @@ impl BaseClient {
|
||||||
let mut push_context = self.get_push_room_context(room, room_info, changes).await?;
|
let mut push_context = self.get_push_room_context(room, room_info, changes).await?;
|
||||||
|
|
||||||
for event in ruma_timeline.events {
|
for event in ruma_timeline.events {
|
||||||
|
#[allow(unused_mut)]
|
||||||
let mut event: SyncRoomEvent = event.into();
|
let mut event: SyncRoomEvent = event.into();
|
||||||
|
|
||||||
match hoist_room_event_prev_content(&event.event) {
|
match hoist_room_event_prev_content(&event.event) {
|
||||||
|
|
Loading…
Reference in New Issue