summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/Controllers/XMPPEvents')
-rw-r--r--Swift/Controllers/XMPPEvents/MUCInviteEvent.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Swift/Controllers/XMPPEvents/MUCInviteEvent.h b/Swift/Controllers/XMPPEvents/MUCInviteEvent.h
index 0b430cd..65ecece 100644
--- a/Swift/Controllers/XMPPEvents/MUCInviteEvent.h
+++ b/Swift/Controllers/XMPPEvents/MUCInviteEvent.h
@@ -13,13 +13,14 @@ namespace Swift {
typedef boost::shared_ptr<MUCInviteEvent> ref;
public:
- MUCInviteEvent(const JID& inviter, const JID& roomJID, const std::string& reason, const std::string& password, bool direct) : inviter_(inviter), roomJID_(roomJID), reason_(reason), password_(password), direct_(direct) {}
+ MUCInviteEvent(const JID& inviter, const JID& roomJID, const std::string& reason, const std::string& password, bool direct, bool impromptu) : inviter_(inviter), roomJID_(roomJID), reason_(reason), password_(password), direct_(direct), impromptu_(impromptu) {}
const JID& getInviter() const { return inviter_; }
const JID& getRoomJID() const { return roomJID_; }
const std::string& getReason() const { return reason_; }
const std::string& getPassword() const { return password_; }
bool getDirect() const { return direct_; }
+ bool getImpromptu() const { return impromptu_; }
private:
JID inviter_;
@@ -27,5 +28,6 @@ namespace Swift {
std::string reason_;
std::string password_;
bool direct_;
+ bool impromptu_;
};
}