diff options
Diffstat (limited to 'lib/csapi/directory.cpp')
-rw-r--r-- | lib/csapi/directory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/csapi/directory.cpp b/lib/csapi/directory.cpp index fd3b8839..5353f3bc 100644 --- a/lib/csapi/directory.cpp +++ b/lib/csapi/directory.cpp @@ -19,7 +19,7 @@ SetRoomAliasJob::SetRoomAliasJob(const QString& roomAlias, const QString& roomId basePath % "/room/" % roomAlias) { QJsonObject _data; - addParam<IfNotEmpty>(_data, QStringLiteral("room_id"), roomId); + addParam<>(_data, QStringLiteral("room_id"), roomId); setRequestData(_data); } |