summaryrefslogtreecommitdiff
path: root/src/xmpp/biboumi_component.hpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-06-23 00:16:24 +0200
committerlouiz’ <louiz@louiz.org>2017-07-16 00:16:43 +0200
commit84034ed3dc19f718dcc93a35dbf4c840a55efb1b (patch)
tree70f6add500c66bc6e6aacddf1ed870ad31bae171 /src/xmpp/biboumi_component.hpp
parentb2334707107e65dd15590b7472c990bbf79549eb (diff)
downloadbiboumi-84034ed3dc19f718dcc93a35dbf4c840a55efb1b.tar.gz
biboumi-84034ed3dc19f718dcc93a35dbf4c840a55efb1b.tar.bz2
biboumi-84034ed3dc19f718dcc93a35dbf4c840a55efb1b.tar.xz
biboumi-84034ed3dc19f718dcc93a35dbf4c840a55efb1b.zip
Use a db roster to manage biboumi’s presence with the contacts
Diffstat (limited to 'src/xmpp/biboumi_component.hpp')
-rw-r--r--src/xmpp/biboumi_component.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xmpp/biboumi_component.hpp b/src/xmpp/biboumi_component.hpp
index 87311f9..2d67f8b 100644
--- a/src/xmpp/biboumi_component.hpp
+++ b/src/xmpp/biboumi_component.hpp
@@ -36,6 +36,8 @@ public:
BiboumiComponent& operator=(const BiboumiComponent&) = delete;
BiboumiComponent& operator=(BiboumiComponent&&) = delete;
+ void after_handshake() override final;
+
/**
* Returns the bridge for the given user. If it does not exist, return
* nullptr.
@@ -87,6 +89,7 @@ public:
void send_invitation(const std::string& room_target, const std::string& jid_to, const std::string& author_nick);
void accept_subscription(const std::string& from, const std::string& to);
void ask_subscription(const std::string& from, const std::string& to);
+ void send_presence_to_contact(const std::string& from, const std::string& to, const std::string& type, const std::string& id="");
/**
* Handle the various stanza types
*/