diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-06-22 17:38:29 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-06-22 17:39:06 (GMT) |
commit | e8360f0dd62ea651e94f681499faef58747f2ece (patch) | |
tree | 5eeb231a12a44c65baf648b0350387a6f25986af /Swiften/Queries/Requests | |
parent | 86e892137d512a11edde0aa7760fc1c15e598dad (diff) | |
download | swift-contrib-e8360f0dd62ea651e94f681499faef58747f2ece.zip swift-contrib-e8360f0dd62ea651e94f681499faef58747f2ece.tar.bz2 |
Support vCard-based avatars in MUCs.
Diffstat (limited to 'Swiften/Queries/Requests')
-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) { } }; } |