isFavourite property

bool get isFavourite

Returns true if this room has a m.favourite tag.

Implementation

bool get isFavourite =>
    tags[TagType.favourite] != null ||
    (client.pinInvitedRooms && membership == Membership.invite);