Skip to content

Commit

Permalink
fix minor compilation error during merge
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinaboos committed Sep 21, 2024
1 parent 9444514 commit ed897b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/home/room_screen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1526,11 +1526,11 @@ impl RoomScreen {
/// Invoke this when this timeline is being hidden or no longer being shown,
/// e.g., when the user navigates away from this timeline.
fn hide_timeline(&mut self) {
if let Some(room_id) = &self.room_id {
if let Some(room_id) = self.room_id.clone() {
self.save_state();
submit_async_request(
MatrixRequest::SubscribeToTypingNotices {
room_id: room_id.clone(),
room_id,
subscribe: false,
}
);
Expand Down

0 comments on commit ed897b6

Please sign in to comment.