Skip to content

Commit 3fa8a51

Browse files
committed
clippy
1 parent b2bf56f commit 3fa8a51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ impl MatchEvent for App {
303303
}
304304
Some(AppStateAction::UpgradedInviteToJoinedRoom(room_id)) => {
305305
if let Some(selected_room) = self.app_state.selected_room.as_mut() {
306-
let did_upgrade = selected_room.upgrade_invite_to_joined(&room_id);
306+
let did_upgrade = selected_room.upgrade_invite_to_joined(room_id);
307307
// Updating the AppState's selected room and issuing a redraw
308308
// will cause the MainMobileUI to redraw the newly-joined room.
309309
if did_upgrade {

0 commit comments

Comments
 (0)