From 4e3703a45fcff6433441482892cfb14fd9bd8a7c Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Sun, 30 Sep 2018 12:59:52 +0900 Subject: toJson(TagRecord): don't dump order if there's none --- lib/events/accountdataevents.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/events/accountdataevents.h') diff --git a/lib/events/accountdataevents.h b/lib/events/accountdataevents.h index 792ea7f7..d1c1abc8 100644 --- a/lib/events/accountdataevents.h +++ b/lib/events/accountdataevents.h @@ -63,7 +63,7 @@ namespace QMatrixClient inline QJsonValue toJson(const TagRecord& rec) { QJsonObject o; - addParam(o, QStringLiteral("order"), rec.order); + addParam(o, QStringLiteral("order"), rec.order); return o; } -- cgit v1.2.3