summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-10-22 12:07:23 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-10-22 15:27:06 (GMT)
commit991f0774c006a2c9a0998090dae4729059cc72b6 (patch)
tree1c396b2c3e1700cc80c2ddabad4c55492ebb74e3 /Swiften/Elements
parent077a1cf938d007874c2915b5fd703d4776bb25cd (diff)
downloadswift-991f0774c006a2c9a0998090dae4729059cc72b6.zip
swift-991f0774c006a2c9a0998090dae4729059cc72b6.tar.bz2
Minor fixes to MUCs.
Resolves: #626 Resolves: #632 Release-Notes: Notices will now be generated if someone says your nick in the MUC in any variant of capitalisation, and will not be generated if it was you that said it.
Diffstat (limited to 'Swiften/Elements')
-rw-r--r--Swiften/Elements/MUCUserPayload.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Swiften/Elements/MUCUserPayload.h b/Swiften/Elements/MUCUserPayload.h
index 3032b9f..8635176 100644
--- a/Swiften/Elements/MUCUserPayload.h
+++ b/Swiften/Elements/MUCUserPayload.h
@@ -10,11 +10,12 @@
#include "Swiften/JID/JID.h"
#include "Swiften/Base/String.h"
+#include "Swiften/Base/Shared.h"
#include "Swiften/Elements/Payload.h"
#include "Swiften/MUC/MUCOccupant.h"
namespace Swift {
- class MUCUserPayload : public Payload {
+ class MUCUserPayload : public Payload, public Shared<MUCUserPayload> {
public:
struct Item {
Item() : affiliation(MUCOccupant::NoAffiliation), role(MUCOccupant::NoRole) {}