/* * Copyright (c) 2017 Tarun Gupta * Licensed under the simplified BSD license. * See Documentation/Licenses/BSD-simplified.txt for more information. */ #pragma once #include #include #include #include #include namespace Swift { class SWIFTEN_API MIXLeave : public Payload { public: using ref = std::shared_ptr; public: MIXLeave() {} const boost::optional& getChannel() const { return channel_; } void setChannel(const JID& channel) { channel_ = channel; } private: boost::optional channel_; }; }