Fix broken reply on gcc.
This commit is contained in:
@@ -496,9 +496,9 @@ void SpectralRoom::postPlainMessage(const QString& text,
|
|||||||
{"body", "> <" + replyEvt.senderId() + "> " + eventToString(replyEvt) + "\n\n" + text},
|
{"body", "> <" + replyEvt.senderId() + "> " + eventToString(replyEvt) + "\n\n" + text},
|
||||||
{"format", "org.matrix.custom.html"},
|
{"format", "org.matrix.custom.html"},
|
||||||
{"m.relates_to",
|
{"m.relates_to",
|
||||||
{
|
QJsonObject {
|
||||||
{"m.in_reply_to",
|
{"m.in_reply_to",
|
||||||
{
|
QJsonObject {
|
||||||
{"event_id", replyEventId}
|
{"event_id", replyEventId}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -542,9 +542,9 @@ void SpectralRoom::postHtmlMessage(const QString& text,
|
|||||||
{"body", "> <" + replyEvt.senderId() + "> " + eventToString(replyEvt) + "\n\n" + text},
|
{"body", "> <" + replyEvt.senderId() + "> " + eventToString(replyEvt) + "\n\n" + text},
|
||||||
{"format", "org.matrix.custom.html"},
|
{"format", "org.matrix.custom.html"},
|
||||||
{"m.relates_to",
|
{"m.relates_to",
|
||||||
{
|
QJsonObject {
|
||||||
{"m.in_reply_to",
|
{"m.in_reply_to",
|
||||||
{
|
QJsonObject {
|
||||||
{"event_id", replyEventId}
|
{"event_id", replyEventId}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user