summaryrefslogtreecommitdiffstats
blob: e403096fa5fca8ea653d28b7b500344881aa48ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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());
			}
	};
}