groupCallsEnabled property
bool
get
groupCallsEnabled
if returned value is not null org.sdn.msc3401.call.member
is present
and group calls can be used
Implementation
bool get groupCallsEnabled {
final powerLevelMap = getState(EventTypes.RoomPowerLevels)?.content;
if (powerLevelMap == null) return false;
return powerForChangingStateEvent(EventTypes.GroupCallMemberPrefix) <=
getDefaultPowerLevel(powerLevelMap) &&
powerForChangingStateEvent(EventTypes.GroupCallPrefix) <=
getDefaultPowerLevel(powerLevelMap);
}