summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-04-05 19:15:02 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-04-05 19:15:02 (GMT)
commit90eab2990dc087ebe2b91181f14ca452e5b31697 (patch)
tree7e264a796dad34bb55a79de81bed9e0bb4768573 /Swift/Controllers/UIEvents
parentc88b7c5da8dde6c4f7bdd85743378ec46f3a30fc (diff)
downloadswift-contrib-90eab2990dc087ebe2b91181f14ca452e5b31697.zip
swift-contrib-90eab2990dc087ebe2b91181f14ca452e5b31697.tar.bz2
Allow opening chats to MUC occupants.
Resolves: #275
Diffstat (limited to 'Swift/Controllers/UIEvents')
-rw-r--r--Swift/Controllers/UIEvents/RequestChatUIEvent.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/Swift/Controllers/UIEvents/RequestChatUIEvent.h b/Swift/Controllers/UIEvents/RequestChatUIEvent.h
index 529f498..322dd78 100644
--- a/Swift/Controllers/UIEvents/RequestChatUIEvent.h
+++ b/Swift/Controllers/UIEvents/RequestChatUIEvent.h
@@ -1,17 +1,15 @@
-//Not used yet.
-
#pragma once
-#include "Swiften/Base/String.h"
+#include "Swiften/JID/JID.h"
#include "Swift/Controllers/UIEvents/UIEvent.h"
namespace Swift {
class RequestChatUIEvent : public UIEvent {
public:
- RequestChatUIEvent(const String& contact) : contact_(contact) {};
- String getContact() {return contact_;}
+ RequestChatUIEvent(const JID& contact) : contact_(contact) {};
+ JID getContact() {return contact_;}
private:
- String contact_;
+ JID contact_;
};
}