fix(base): Allow the presence of a room member to be dead for now

This commit is contained in:
Damir Jelić 2021-09-13 10:18:45 +02:00
parent b8001b78b4
commit 1ea9c9a915

View file

@ -30,6 +30,7 @@ use crate::deserialized_responses::MemberEvent;
pub struct RoomMember { pub struct RoomMember {
pub(crate) event: Arc<MemberEvent>, pub(crate) event: Arc<MemberEvent>,
pub(crate) profile: Arc<Option<MemberEventContent>>, pub(crate) profile: Arc<Option<MemberEventContent>>,
#[allow(dead_code)]
pub(crate) presence: Arc<Option<PresenceEvent>>, pub(crate) presence: Arc<Option<PresenceEvent>>,
pub(crate) power_levels: Arc<Option<SyncStateEvent<PowerLevelsEventContent>>>, pub(crate) power_levels: Arc<Option<SyncStateEvent<PowerLevelsEventContent>>>,
pub(crate) max_power_level: i64, pub(crate) max_power_level: i64,