summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2011-09-28 10:11:52 (GMT)
committerKevin Smith <git@kismith.co.uk>2011-09-28 10:11:52 (GMT)
commitef9ce71646ddf6bdaeafc0776724bf1a6ff18d9d (patch)
treeaddedda39ab3be3c693262518e9a0c64633d93df /Swiften/Elements
parentd5efab53e5c4dee50a55241e840a26814d115ad7 (diff)
downloadswift-contrib-ef9ce71646ddf6bdaeafc0776724bf1a6ff18d9d.zip
swift-contrib-ef9ce71646ddf6bdaeafc0776724bf1a6ff18d9d.tar.bz2
Parse MUC status codes correctly again.
Means rooms will be unlocked after creation correctly.
Diffstat (limited to 'Swiften/Elements')
-rw-r--r--Swiften/Elements/MUCUserPayload.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swiften/Elements/MUCUserPayload.h b/Swiften/Elements/MUCUserPayload.h
index 158258b..699badd 100644
--- a/Swiften/Elements/MUCUserPayload.h
+++ b/Swiften/Elements/MUCUserPayload.h
@@ -23,6 +23,7 @@ namespace Swift {
struct StatusCode {
StatusCode() : code(0) {}
+ StatusCode(int code) : code(code) {}
int code;
};