diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-11-15 21:51:51 +0100 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-11-15 21:51:51 +0100 |
commit | 52cab4b11bdd48cd87e04c01b12c698ec4145e6d (patch) | |
tree | f8b44dd9c585606b4ac229c396ef914d5950fd47 /lib/events/roomcanonicalaliasevent.h | |
parent | 5b1bfc102fccd4e57893b34bf2b0a14ba6a9f577 (diff) | |
download | libquotient-52cab4b11bdd48cd87e04c01b12c698ec4145e6d.tar.gz libquotient-52cab4b11bdd48cd87e04c01b12c698ec4145e6d.zip |
Cleanup across event classes
In particular: removed unnecessary #includes, deprecated and no more
used constructs, replaced stored members with dynamic generation
from JSON (TypingEvent and, especially promising for performance,
ReceiptEvent)
Diffstat (limited to 'lib/events/roomcanonicalaliasevent.h')
-rw-r--r-- | lib/events/roomcanonicalaliasevent.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/events/roomcanonicalaliasevent.h b/lib/events/roomcanonicalaliasevent.h index fadfece0..4a21b7cc 100644 --- a/lib/events/roomcanonicalaliasevent.h +++ b/lib/events/roomcanonicalaliasevent.h @@ -61,13 +61,13 @@ public: explicit RoomCanonicalAliasEvent(const QString& canonicalAlias, const QStringList& altAliases = {}) - : StateEvent(typeId(), matrixTypeId(), QString(), + : StateEvent(typeId(), matrixTypeId(), {}, canonicalAlias, altAliases) { } explicit RoomCanonicalAliasEvent(QString&& canonicalAlias, QStringList&& altAliases = {}) - : StateEvent(typeId(), matrixTypeId(), QString(), + : StateEvent(typeId(), matrixTypeId(), {}, std::move(canonicalAlias), std::move(altAliases)) { } |