diff options
author | Kevin Smith <git@kismith.co.uk> | 2011-09-28 10:11:52 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2011-09-28 10:11:52 (GMT) |
commit | ef9ce71646ddf6bdaeafc0776724bf1a6ff18d9d (patch) | |
tree | addedda39ab3be3c693262518e9a0c64633d93df /Swiften/Elements | |
parent | d5efab53e5c4dee50a55241e840a26814d115ad7 (diff) | |
download | swift-ef9ce71646ddf6bdaeafc0776724bf1a6ff18d9d.zip swift-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.h | 1 |
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; }; |