diff options
Diffstat (limited to 'lib/events')
-rw-r--r-- | lib/events/accountdataevents.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<IfNotEmpty>(o, QStringLiteral("order"), rec.order); return o; } |