summaryrefslogtreecommitdiff
path: root/src/xmpp/biboumi_component.hpp
diff options
context:
space:
mode:
authorlouiz <louiz@louiz.org>2017-07-16 01:13:04 +0200
committerlouiz <louiz@louiz.org>2017-07-16 01:13:04 +0200
commit9131e63b74412ca75a26de27a308a1843984a43f (patch)
tree15fc0c2cd67651a0bf938cdd787e50e793cf946e /src/xmpp/biboumi_component.hpp
parentb2334707107e65dd15590b7472c990bbf79549eb (diff)
parent88770979c3a46f3dde76fa2756e3e07ff79c3e12 (diff)
downloadbiboumi-9131e63b74412ca75a26de27a308a1843984a43f.tar.gz
biboumi-9131e63b74412ca75a26de27a308a1843984a43f.tar.bz2
biboumi-9131e63b74412ca75a26de27a308a1843984a43f.tar.xz
biboumi-9131e63b74412ca75a26de27a308a1843984a43f.zip
Merge branch 'biboumi_jid_in_users_rosters' into 'master'
Use a db roster to manage biboumi’s presence with the contacts Closes #3217 See merge request !13
Diffstat (limited to 'src/xmpp/biboumi_component.hpp')
-rw-r--r--src/xmpp/biboumi_component.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/xmpp/biboumi_component.hpp b/src/xmpp/biboumi_component.hpp
index 87311f9..e5547f9 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,10 @@ 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="");
+ void on_irc_client_connected(const std::string& irc_hostname, const std::string& jid);
+ void on_irc_client_disconnected(const std::string& irc_hostname, const std::string& jid);
+
/**
* Handle the various stanza types
*/