remove unused import
parent
e8b5534a71
commit
bb89db30cb
|
@ -18,7 +18,7 @@ use std::convert::{TryFrom, TryInto};
|
||||||
use std::sync::atomic::{AtomicU64, Ordering};
|
use std::sync::atomic::{AtomicU64, Ordering};
|
||||||
use std::sync::{Arc, Mutex, RwLock as SyncLock};
|
use std::sync::{Arc, Mutex, RwLock as SyncLock};
|
||||||
use std::time::{Duration, Instant};
|
use std::time::{Duration, Instant};
|
||||||
use tokio::sync::{RwLock, RwLockReadGuard};
|
use tokio::sync::RwLock;
|
||||||
|
|
||||||
use async_std::task::sleep;
|
use async_std::task::sleep;
|
||||||
|
|
||||||
|
|
|
@ -260,7 +260,7 @@ impl Room {
|
||||||
RoomEvent::RoomCanonicalAlias(ca) => self.handle_canonical(ca),
|
RoomEvent::RoomCanonicalAlias(ca) => self.handle_canonical(ca),
|
||||||
RoomEvent::RoomAliases(a) => self.handle_room_aliases(a),
|
RoomEvent::RoomAliases(a) => self.handle_room_aliases(a),
|
||||||
// power levels of the room members
|
// power levels of the room members
|
||||||
RoomEvent::RoomPowerLevels(p) => self.handle_power_level(p),
|
// RoomEvent::RoomPowerLevels(p) => self.handle_power_level(p),
|
||||||
_ => false,
|
_ => false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue