summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Disco/ClientDiscoManager.cpp')
-rw-r--r--Swiften/Disco/ClientDiscoManager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/Disco/ClientDiscoManager.cpp b/Swiften/Disco/ClientDiscoManager.cpp
index 99c0175..cca0144 100644
--- a/Swiften/Disco/ClientDiscoManager.cpp
+++ b/Swiften/Disco/ClientDiscoManager.cpp
@@ -36,4 +36,8 @@ void ClientDiscoManager::setDiscoInfo(const DiscoInfo& discoInfo) {
presenceSender->setPayload(capsInfo);
}
+void ClientDiscoManager::handleConnected() {
+ presenceSender->reset();
+}
+
}