aboutsummaryrefslogtreecommitdiff
path: root/lib/application-service/definitions/user.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/application-service/definitions/user.cpp')
-rw-r--r--lib/application-service/definitions/user.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/application-service/definitions/user.cpp b/lib/application-service/definitions/user.cpp
index dbe4c104..ca334236 100644
--- a/lib/application-service/definitions/user.cpp
+++ b/lib/application-service/definitions/user.cpp
@@ -9,9 +9,9 @@ using namespace QMatrixClient;
QJsonObject QMatrixClient::toJson(const ThirdPartyUser& pod)
{
QJsonObject jo;
- addParam<IfNotEmpty>(jo, QStringLiteral("userid"), pod.userid);
- addParam<IfNotEmpty>(jo, QStringLiteral("protocol"), pod.protocol);
- addParam<IfNotEmpty>(jo, QStringLiteral("fields"), pod.fields);
+ addParam<>(jo, QStringLiteral("userid"), pod.userid);
+ addParam<>(jo, QStringLiteral("protocol"), pod.protocol);
+ addParam<>(jo, QStringLiteral("fields"), pod.fields);
return jo;
}