Skip to content

Commit

Permalink
Fix outdated rust-toolchain file. Misc cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinaboos committed Jul 25, 2024
1 parent 0a30102 commit 050b76b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "nightly-2023-12-22"
channel = "stable"
3 changes: 2 additions & 1 deletion src/profile/user_profile.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::{borrow::Cow, cell::RefCell, collections::{btree_map::Entry, BTreeMap}, ops::{Deref, DerefMut}, sync::Arc};
use crossbeam_queue::SegQueue;
use makepad_widgets::*;
use matrix_sdk::{room::RoomMember, ruma::events::room::member::MembershipState, OwnedRoomId, OwnedUserId, UserId};
use matrix_sdk::{room::RoomMember, ruma::{events::room::member::MembershipState, OwnedRoomId, OwnedUserId, UserId}};
use crate::{
shared::avatar::AvatarWidgetExt, sliding_sync::{get_client, submit_async_request, MatrixRequest}, utils
};
Expand Down Expand Up @@ -57,6 +57,7 @@ impl UserProfileUpdate {
/// only if the user_id and room_id match that of the update.
///
/// Returns `true` if the update resulted in any actual content changes.
#[allow(unused)]
fn apply_to_current_pane(&self, info: &mut UserProfilePaneInfo) -> bool {
match self {
UserProfileUpdate::Full { new_profile, room_id, room_member } => {
Expand Down

0 comments on commit 050b76b

Please sign in to comment.