![]() |
libQuotient
A Qt library for building matrix clients
|
Room summary, as defined in MSC688. More...
#include <syncdata.h>
Public Member Functions | |
| bool | isEmpty () const |
Public Attributes | |
| std::optional< int > | joinedMemberCount |
| std::optional< int > | invitedMemberCount |
| std::optional< QStringList > | heroes |
| mxids used to form the room name | |
Room summary, as defined in MSC688.
Every member of this structure is an optional; as per the MSC, only changed values are sent from the server so if nothing is in the payload the respective member will be omitted. In particular, !heroes.has_value() means that nothing has come from the server; heroes.value().isEmpty() means a peculiar but valid case of a room with the only member - the current user.
Definition at line 24 of file syncdata.h.
| bool Quotient::RoomSummary::isEmpty | ( | ) | const |
| std::optional<QStringList> Quotient::RoomSummary::heroes |
mxids used to form the room name
Definition at line 27 of file syncdata.h.
| std::optional<int> Quotient::RoomSummary::invitedMemberCount |
Definition at line 26 of file syncdata.h.
| std::optional<int> Quotient::RoomSummary::joinedMemberCount |
Definition at line 25 of file syncdata.h.