canRequestHistory property

bool get canRequestHistory

Implementation

bool get canRequestHistory {
  if (events.isEmpty) return true;
  return room.prev_batch != null && events.last.type != EventTypes.RoomCreate;
}