diff options
Diffstat (limited to 'Swiften/Queries')
-rw-r--r-- | Swiften/Queries/Requests/GetVCardRequest.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Swiften/Queries/Requests/GetVCardRequest.h b/Swiften/Queries/Requests/GetVCardRequest.h index e403096..8fc6e17 100644 --- a/Swiften/Queries/Requests/GetVCardRequest.h +++ b/Swiften/Queries/Requests/GetVCardRequest.h @@ -1,16 +1,12 @@ #pragma once -#include <cassert> - #include "Swiften/Queries/GenericRequest.h" #include "Swiften/Elements/VCard.h" namespace Swift { class GetVCardRequest : public GenericRequest<VCard> { public: - GetVCardRequest(const JID& jid, IQRouter* router) : - GenericRequest<VCard>(IQ::Get, jid, boost::shared_ptr<Payload>(new VCard()), router) { - assert(jid.isBare()); + GetVCardRequest(const JID& jid, IQRouter* router) : GenericRequest<VCard>(IQ::Get, jid, boost::shared_ptr<Payload>(new VCard()), router) { } }; } |