isOwner method

bool isOwner()

Implementation

bool isOwner() {
  if (getUserState().selfInfo.userId.isEmpty) {
    return false;
  }
  return getRoomSate().ownerInfo.userId == getUserState().selfInfo.userId;
}