diff options
author | Kevin Smith <git@kismith.co.uk> | 2010-09-24 11:11:49 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2010-09-24 11:11:49 (GMT) |
commit | 3a57283476de7d29d6652145336dc03964d5659c (patch) | |
tree | 3594c8fefb176f6ae6380cd8ffd7850a22807248 /Swift/Controllers/Chat/ChatControllerBase.cpp | |
parent | a29b7059d8d2a43a9ec6095d53ad61fa9886e20b (diff) | |
download | swift-contrib-3a57283476de7d29d6652145336dc03964d5659c.zip swift-contrib-3a57283476de7d29d6652145336dc03964d5659c.tar.bz2 |
Don't overwrite date changes with presence changes
Diffstat (limited to 'Swift/Controllers/Chat/ChatControllerBase.cpp')
-rw-r--r-- | Swift/Controllers/Chat/ChatControllerBase.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/Controllers/Chat/ChatControllerBase.cpp b/Swift/Controllers/Chat/ChatControllerBase.cpp index 177cdf0..9619722 100644 --- a/Swift/Controllers/Chat/ChatControllerBase.cpp +++ b/Swift/Controllers/Chat/ChatControllerBase.cpp @@ -50,6 +50,7 @@ void ChatControllerBase::handleDayChangeTick() { dateChangeTimer_->stop(); boost::posix_time::ptime now = boost::posix_time::second_clock::local_time(); chatWindow_->addSystemMessage("The day is now " + String(boost::posix_time::to_iso_extended_string(now)).getSubstring(0,10)); + dayTicked(); createDayChangeTimer(); } |