summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-10-30 19:55:41 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-10-30 19:57:00 (GMT)
commit4804022049cb53ac28902639274826b68a803c18 (patch)
treeb2a7439e15b409c66e051f2ec5e3ef4397591cbf /Swift/Controllers/UIEvents
parentba333999576d89f3340c271b2a3331d6a3e64ac7 (diff)
downloadswift-contrib-4804022049cb53ac28902639274826b68a803c18.zip
swift-contrib-4804022049cb53ac28902639274826b68a803c18.tar.bz2
When MUC notifications are clicked, open the MUC.
Release-Notes: When clicking notifications coming from rooms, bring up the room dialog. Resolves: #674
Diffstat (limited to 'Swift/Controllers/UIEvents')
-rw-r--r--Swift/Controllers/UIEvents/JoinMUCUIEvent.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/UIEvents/JoinMUCUIEvent.h b/Swift/Controllers/UIEvents/JoinMUCUIEvent.h
index 4ebf1f1..d294fe8 100644
--- a/Swift/Controllers/UIEvents/JoinMUCUIEvent.h
+++ b/Swift/Controllers/UIEvents/JoinMUCUIEvent.h
@@ -14,7 +14,7 @@
namespace Swift {
class JoinMUCUIEvent : public UIEvent {
public:
- JoinMUCUIEvent(const JID& jid, const boost::optional<String>& nick) : jid_(jid), nick_(nick) {};
+ JoinMUCUIEvent(const JID& jid, const boost::optional<String>& nick = boost::optional<String>()) : jid_(jid), nick_(nick) {};
boost::optional<String> getNick() {return nick_;};
JID getJID() {return jid_;};
private: