summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-06-22 18:53:42 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-06-22 19:14:55 (GMT)
commit0bebf1a69870f75432517cfcb6d115996cf5be4f (patch)
tree0cc3ced0707990f02dc725fb01c1a4966455df89 /Swiften/Elements
parentfcba2d245a3dde4c584f4ed04081512441eb383f (diff)
downloadswift-contrib-0bebf1a69870f75432517cfcb6d115996cf5be4f.zip
swift-contrib-0bebf1a69870f75432517cfcb6d115996cf5be4f.tar.bz2
Send avatar vCard-updates in presence.
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_; }