diff options
Diffstat (limited to 'Swiften/Disco/ClientDiscoManager.h')
-rw-r--r-- | Swiften/Disco/ClientDiscoManager.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Swiften/Disco/ClientDiscoManager.h b/Swiften/Disco/ClientDiscoManager.h index f8ba9ac..6f126eb 100644 --- a/Swiften/Disco/ClientDiscoManager.h +++ b/Swiften/Disco/ClientDiscoManager.h @@ -58,6 +58,13 @@ namespace Swift { return presenceSender; } + /** + * Called when the client is connected. + * This resets the presence sender, such that it assumes initial presence + * hasn't been sent yet. + */ + void handleConnected(); + private: PayloadAddingPresenceSender* presenceSender; DiscoInfoResponder* discoInfoResponder; |