diff options
Diffstat (limited to 'Swiften/Queries/Requests/GetInBandRegistrationFormRequest.h')
-rw-r--r-- | Swiften/Queries/Requests/GetInBandRegistrationFormRequest.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/Queries/Requests/GetInBandRegistrationFormRequest.h b/Swiften/Queries/Requests/GetInBandRegistrationFormRequest.h index 33bc156..aa0866a 100644 --- a/Swiften/Queries/Requests/GetInBandRegistrationFormRequest.h +++ b/Swiften/Queries/Requests/GetInBandRegistrationFormRequest.h @@ -15,12 +15,12 @@ namespace Swift { public: typedef boost::shared_ptr<GetInBandRegistrationFormRequest> ref; - static ref create(IQRouter* router) { - return ref(new GetInBandRegistrationFormRequest(router)); + static ref create(const JID& to, IQRouter* router) { + return ref(new GetInBandRegistrationFormRequest(to, router)); } private: - GetInBandRegistrationFormRequest(IQRouter* router) : GenericRequest<InBandRegistrationPayload>(IQ::Get, JID(), InBandRegistrationPayload::ref(new InBandRegistrationPayload()), router) { + GetInBandRegistrationFormRequest(const JID& to, IQRouter* router) : GenericRequest<InBandRegistrationPayload>(IQ::Get, to, InBandRegistrationPayload::ref(new InBandRegistrationPayload()), router) { } }; } |