needRequestToTakeSeat method

bool needRequestToTakeSeat()

Implementation

bool needRequestToTakeSeat() {
  var role = userState.selfInfo.role.value;
  if (role == TUIRole.roomOwner || role == TUIRole.administrator) {
    return false;
  }
  return roomState.seatMode.value == TUISeatMode.applyToTake;
}