diff options
author | louiz <louiz@louiz.org> | 2017-07-16 01:13:04 +0200 |
---|---|---|
committer | louiz <louiz@louiz.org> | 2017-07-16 01:13:04 +0200 |
commit | 9131e63b74412ca75a26de27a308a1843984a43f (patch) | |
tree | 15fc0c2cd67651a0bf938cdd787e50e793cf946e /src/irc | |
parent | b2334707107e65dd15590b7472c990bbf79549eb (diff) | |
parent | 88770979c3a46f3dde76fa2756e3e07ff79c3e12 (diff) | |
download | biboumi-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/irc')
-rw-r--r-- | src/irc/irc_client.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/irc/irc_client.cpp b/src/irc/irc_client.cpp index 67221c5..46dbdbe 100644 --- a/src/irc/irc_client.cpp +++ b/src/irc/irc_client.cpp @@ -297,6 +297,7 @@ void IrcClient::on_connected() #endif this->send_gateway_message("Connected to IRC server"s + (this->use_tls ? " (encrypted)": "") + "."); this->send_pending_data(); + this->bridge.on_irc_client_connected(this->get_hostname()); } void IrcClient::on_connection_close(const std::string& error_msg) @@ -309,6 +310,7 @@ void IrcClient::on_connection_close(const std::string& error_msg) const IrcMessage error{"ERROR", {message}}; this->on_error(error); log_warning(message); + this->bridge.on_irc_client_disconnected(this->get_hostname()); } IrcChannel* IrcClient::get_channel(const std::string& n) |