summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Queries/RawRequest.h')
-rw-r--r--Swiften/Queries/RawRequest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Queries/RawRequest.h b/Swiften/Queries/RawRequest.h
index e5b3a1d..d9a14f3 100644
--- a/Swiften/Queries/RawRequest.h
+++ b/Swiften/Queries/RawRequest.h
@@ -33,7 +33,7 @@ namespace Swift {
virtual void handleResponse(boost::shared_ptr<Payload> payload, ErrorPayload::ref error) {
if (error) {
- onResponse(ErrorSerializer().serializePayload(error));
+ onResponse(ErrorSerializer(&serializers).serializePayload(error));
}
else {
assert(payload);