aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/pusher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/csapi/pusher.cpp')
-rw-r--r--lib/csapi/pusher.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/csapi/pusher.cpp b/lib/csapi/pusher.cpp
index 90ac032b..ba5229d3 100644
--- a/lib/csapi/pusher.cpp
+++ b/lib/csapi/pusher.cpp
@@ -97,9 +97,6 @@ namespace QMatrixClient
QJsonObject toJson(const PostPusherJob::PusherData& pod)
{
QJsonObject _json;
- if (pod.omitted)
- return _json;
-
addToJson<IfNotEmpty>(_json, "url", pod.url);
return _json;
}