diff --git a/src/spectralroom.cpp b/src/spectralroom.cpp index 2e9960cf8..cde780c77 100644 --- a/src/spectralroom.cpp +++ b/src/spectralroom.cpp @@ -496,9 +496,9 @@ void SpectralRoom::postPlainMessage(const QString& text, {"body", "> <" + replyEvt.senderId() + "> " + eventToString(replyEvt) + "\n\n" + text}, {"format", "org.matrix.custom.html"}, {"m.relates_to", - { + QJsonObject { {"m.in_reply_to", - { + QJsonObject { {"event_id", replyEventId} } } @@ -542,9 +542,9 @@ void SpectralRoom::postHtmlMessage(const QString& text, {"body", "> <" + replyEvt.senderId() + "> " + eventToString(replyEvt) + "\n\n" + text}, {"format", "org.matrix.custom.html"}, {"m.relates_to", - { + QJsonObject { {"m.in_reply_to", - { + QJsonObject { {"event_id", replyEventId} } }