summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-06-22 17:38:29 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-06-22 17:39:06 (GMT)
commite8360f0dd62ea651e94f681499faef58747f2ece (patch)
tree5eeb231a12a44c65baf648b0350387a6f25986af /Swiften/Queries
parent86e892137d512a11edde0aa7760fc1c15e598dad (diff)
downloadswift-contrib-e8360f0dd62ea651e94f681499faef58747f2ece.zip
swift-contrib-e8360f0dd62ea651e94f681499faef58747f2ece.tar.bz2
Support vCard-based avatars in MUCs.
Diffstat (limited to 'Swiften/Queries')
-rw-r--r--Swiften/Queries/Requests/GetVCardRequest.h6
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) {
}
};
}