summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2012-04-26 11:06:23 (GMT)
committerKevin Smith <git@kismith.co.uk>2012-04-26 11:06:23 (GMT)
commit18e90e662e849cf51d00961613a43f50f5fd864e (patch)
tree1fa37155526752bd7326a4a9e8a61c4d1bba60d0 /Swift/Controllers/Chat
parent9a34412bef9992d97d2d2094f5e42a3cc9470262 (diff)
downloadswift-contrib-18e90e662e849cf51d00961613a43f50f5fd864e.zip
swift-contrib-18e90e662e849cf51d00961613a43f50f5fd864e.tar.bz2
Don't include yesterday's MUC presence changes in today's first update.
Resolves: #975
Diffstat (limited to 'Swift/Controllers/Chat')
-rw-r--r--Swift/Controllers/Chat/MUCController.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Swift/Controllers/Chat/MUCController.h b/Swift/Controllers/Chat/MUCController.h
index 6906f81..c2a5103 100644
--- a/Swift/Controllers/Chat/MUCController.h
+++ b/Swift/Controllers/Chat/MUCController.h
@@ -87,7 +87,7 @@ namespace Swift {
bool messageTargetsMe(boost::shared_ptr<Message> message);
void updateJoinParts();
bool shouldUpdateJoinParts();
- void dayTicked() {lastWasPresence_ = false;}
+ void dayTicked() {clearPresenceQueue();}
void processUserPart();
void handleBareJIDCapsChanged(const JID& jid);
void handleConfigureRequest(Form::ref);