summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-09-24 11:11:49 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-09-24 11:11:49 (GMT)
commit3a57283476de7d29d6652145336dc03964d5659c (patch)
tree3594c8fefb176f6ae6380cd8ffd7850a22807248 /Swift/Controllers/Chat/ChatController.h
parenta29b7059d8d2a43a9ec6095d53ad61fa9886e20b (diff)
downloadswift-3a57283476de7d29d6652145336dc03964d5659c.zip
swift-3a57283476de7d29d6652145336dc03964d5659c.tar.bz2
Don't overwrite date changes with presence changes
Diffstat (limited to 'Swift/Controllers/Chat/ChatController.h')
-rw-r--r--Swift/Controllers/Chat/ChatController.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/Controllers/Chat/ChatController.h b/Swift/Controllers/Chat/ChatController.h
index d44e0bf..6cb1443 100644
--- a/Swift/Controllers/Chat/ChatController.h
+++ b/Swift/Controllers/Chat/ChatController.h
@@ -32,6 +32,7 @@ namespace Swift {
String senderDisplayNameFromMessage(const JID& from);
virtual boost::optional<boost::posix_time::ptime> getMessageTimestamp(boost::shared_ptr<Message>) const;
void handleStanzaAcked(boost::shared_ptr<Stanza> stanza);
+ void dayTicked() {lastWasPresence_ = false;}
private:
NickResolver* nickResolver_;