summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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_;
};
}