isUnread

abstract fun isUnread(roomId: RoomId): Flow<Boolean>

Returns true if the room is considered unread. This does not mean that there is any notification for the room. A room is considered unread, when the last read event is before Room.lastRelevantEventId or MarkedUnreadEventContent is set.