![]() |
libQuotient
A Qt library for building matrix clients
|
Data about one relation of an event to an upstream event (e.g. a reply or a reaction) More...
#include <eventrelation.h>
Public Types | |
| using | typeid_t = QLatin1String |
| using | reltypeid_t = typeid_t |
Static Public Member Functions | |
| static EventRelation | replyTo (QString eventId) |
| static EventRelation | annotate (QString eventId, QString key) |
| static EventRelation | replace (QString eventId) |
| static EventRelation | replyInThread (QString threadRootId, bool isFallingBack, QString inThreadReplyEventId) |
Public Attributes | |
| QString | type |
| QString | eventId |
| QString | key = {} |
| bool | isFallingBack = false |
| QString | inThreadReplyEventId = {} |
Static Public Attributes | |
| static constexpr auto | ReplyType = "m.in_reply_to"_L1 |
| static constexpr auto | AnnotationType = "m.annotation"_L1 |
| static constexpr auto | ReplacementType = "m.replace"_L1 |
| static constexpr auto | ThreadType = "m.thread"_L1 |
Data about one relation of an event to an upstream event (e.g. a reply or a reaction)
This structure contains all information pertaining to a single event relation. In terms of CS API it corresponds to the contents of m.relates_to and m.in_reply_to JSON objects.
Definition at line 20 of file eventrelation.h.
Definition at line 22 of file eventrelation.h.
| using Quotient::EventRelation::typeid_t = QLatin1String |
Definition at line 21 of file eventrelation.h.
|
inlinestatic |
Definition at line 41 of file eventrelation.h.
|
inlinestatic |
Definition at line 45 of file eventrelation.h.
|
inlinestatic |
Definition at line 49 of file eventrelation.h.
|
inlinestatic |
Definition at line 37 of file eventrelation.h.
|
staticconstexpr |
Definition at line 33 of file eventrelation.h.
| QString Quotient::EventRelation::eventId |
Definition at line 25 of file eventrelation.h.
| QString Quotient::EventRelation::inThreadReplyEventId = {} |
Definition at line 30 of file eventrelation.h.
| bool Quotient::EventRelation::isFallingBack = false |
Definition at line 27 of file eventrelation.h.
| QString Quotient::EventRelation::key = {} |
Definition at line 26 of file eventrelation.h.
|
staticconstexpr |
Definition at line 34 of file eventrelation.h.
|
staticconstexpr |
Definition at line 32 of file eventrelation.h.
|
staticconstexpr |
Definition at line 35 of file eventrelation.h.
| QString Quotient::EventRelation::type |
Definition at line 24 of file eventrelation.h.