diff options
author | Kevin Smith <git@kismith.co.uk> | 2011-03-09 07:39:21 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2011-03-09 07:40:58 (GMT) |
commit | 912dbcf226e361f23b82a77372038865ffebbd02 (patch) | |
tree | 17582ca97ca1d7bed5de3f7ff8aeb7b931537e1f /Swift/Controllers/EventWindowController.cpp | |
parent | ba14801a660031f3a2ad06a2054fd8a6bc4b10b5 (diff) | |
download | swift-contrib-912dbcf226e361f23b82a77372038865ffebbd02.zip swift-contrib-912dbcf226e361f23b82a77372038865ffebbd02.tar.bz2 |
Fix marking notices as read.
Resolves: #775
Diffstat (limited to 'Swift/Controllers/EventWindowController.cpp')
-rw-r--r-- | Swift/Controllers/EventWindowController.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/EventWindowController.cpp b/Swift/Controllers/EventWindowController.cpp index 18c37f4..a6ff061 100644 --- a/Swift/Controllers/EventWindowController.cpp +++ b/Swift/Controllers/EventWindowController.cpp @@ -25,7 +25,7 @@ EventWindowController::~EventWindowController() { void EventWindowController::handleEventQueueEventAdded(boost::shared_ptr<StanzaEvent> event) { event->onConclusion.connect(boost::bind(&EventWindowController::handleEventConcluded, this, event)); - window_->addEvent(event, true); + window_->addEvent(event, event->getConcluded()); } void EventWindowController::handleEventConcluded(boost::shared_ptr<StanzaEvent> event) { |