diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-10-22 12:07:23 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-10-22 15:27:06 (GMT) |
commit | 991f0774c006a2c9a0998090dae4729059cc72b6 (patch) | |
tree | 1c396b2c3e1700cc80c2ddabad4c55492ebb74e3 /Swiften/Elements | |
parent | 077a1cf938d007874c2915b5fd703d4776bb25cd (diff) | |
download | swift-contrib-991f0774c006a2c9a0998090dae4729059cc72b6.zip swift-contrib-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.h | 3 |
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) {} |