isInviteButtonInBaseRow method

bool isInviteButtonInBaseRow()

Implementation

bool isInviteButtonInBaseRow() {
  return !isRoomNeedTakeSeat.value ||
      !RoomStore.to.currentUser.isOnSeat.value &&
          RoomStore.to.currentUser.userRole.value != TUIRole.administrator;
}