summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Queries/Requests')
-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) {
}
};
}