summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-02-05 17:04:44 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-02-05 17:04:44 (GMT)
commit0468ee852e54f81043ff9589951c1d9f88a1848e (patch)
treed4d7369c470bc4269c309fa84724ae5939365a4d /Swiften/Elements/MUCPayload.h
parent374ebf0f8c32c4fd8758af4b8381ac5cff0d151c (diff)
downloadswift-contrib-0468ee852e54f81043ff9589951c1d9f88a1848e.zip
swift-contrib-0468ee852e54f81043ff9589951c1d9f88a1848e.tar.bz2
Fixed some bugs with MUC joining.
Diffstat (limited to 'Swiften/Elements/MUCPayload.h')
-rw-r--r--Swiften/Elements/MUCPayload.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swiften/Elements/MUCPayload.h b/Swiften/Elements/MUCPayload.h
index 5d7c4f5..b8210e1 100644
--- a/Swiften/Elements/MUCPayload.h
+++ b/Swiften/Elements/MUCPayload.h
@@ -16,6 +16,8 @@
namespace Swift {
class MUCPayload : public Payload {
public:
+ typedef boost::shared_ptr<MUCPayload> ref;
+
MUCPayload() {
maxChars_ = -1;
maxStanzas_ = -1;