summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Elements')
-rw-r--r--Swiften/Elements/VCardUpdate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Elements/VCardUpdate.h b/Swiften/Elements/VCardUpdate.h
index b6c8ebd..6bb79cc 100644
--- a/Swiften/Elements/VCardUpdate.h
+++ b/Swiften/Elements/VCardUpdate.h
@@ -6,7 +6,7 @@
namespace Swift {
class VCardUpdate : public Payload {
public:
- VCardUpdate() {}
+ VCardUpdate(const String& photoHash = "") : photoHash_(photoHash) {}
void setPhotoHash(const String& photoHash) { photoHash_ = photoHash; }
const String& getPhotoHash() { return photoHash_; }