diff options
author | Roland Pallai <dap78@magex.hu> | 2020-03-17 22:09:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-17 22:09:26 +0100 |
commit | 682f96d4af19226e553138b1a86ed9233c35edbd (patch) | |
tree | 0e3a13ae2844cfcce4bedf77c706be985eccdf34 /lib | |
parent | 14df474a5032554faf575f8becbac4c9f2bec3e5 (diff) | |
download | libquotient-682f96d4af19226e553138b1a86ed9233c35edbd.tar.gz libquotient-682f96d4af19226e553138b1a86ed9233c35edbd.zip |
Use constant
Co-Authored-By: Kitsune Ral <Kitsune-Ral@users.sf.net>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/events/roommessageevent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/events/roommessageevent.cpp b/lib/events/roommessageevent.cpp index a6620618..616a034f 100644 --- a/lib/events/roommessageevent.cpp +++ b/lib/events/roommessageevent.cpp @@ -338,7 +338,7 @@ void TextContent::fillJson(QJsonObject* json) const } if (relatesTo) { json->insert(QStringLiteral("m.relates_to"), - QJsonObject { { "rel_type", relatesTo->type }, { "event_id", relatesTo->eventId } }); + QJsonObject { { "rel_type", relatesTo->type }, { EventIdKey, relatesTo->eventId } }); if (relatesTo->type == RelatesTo::ReplacementTypeId()) { QJsonObject newContentJson; if (mimeType.inherits("text/html")) { |