summaryrefslogtreecommitdiff
path: root/src/bridge/bridge.hpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-07-04 20:42:40 +0200
committerlouiz’ <louiz@louiz.org>2017-07-16 00:16:43 +0200
commitf9a6f973966430b108642ac57d54db5fd0d5535e (patch)
treed34574f81b9b55b7ce49ba5d10ef543c7db9f3bc /src/bridge/bridge.hpp
parent368bb82818d4b68e4984698ea4454091ecb049a2 (diff)
downloadbiboumi-f9a6f973966430b108642ac57d54db5fd0d5535e.tar.gz
biboumi-f9a6f973966430b108642ac57d54db5fd0d5535e.tar.bz2
biboumi-f9a6f973966430b108642ac57d54db5fd0d5535e.tar.xz
biboumi-f9a6f973966430b108642ac57d54db5fd0d5535e.zip
Implement the roster presences from IRC servers
Diffstat (limited to 'src/bridge/bridge.hpp')
-rw-r--r--src/bridge/bridge.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bridge/bridge.hpp b/src/bridge/bridge.hpp
index 496b439..c10631b 100644
--- a/src/bridge/bridge.hpp
+++ b/src/bridge/bridge.hpp
@@ -201,6 +201,8 @@ public:
void send_xmpp_ping_request(const std::string& nick, const std::string& hostname,
const std::string& id);
void send_xmpp_invitation(const Iid& iid, const std::string& author);
+ void on_irc_client_connected(const std::string& hostname);
+ void on_irc_client_disconnected(const std::string& hostname);
/**
* Misc
@@ -301,8 +303,8 @@ private:
using ChannelKey = std::tuple<ChannelName, IrcHostname>;
public:
std::map<ChannelKey, std::set<Resource>> resources_in_chan;
-private:
std::map<IrcHostname, std::set<Resource>> resources_in_server;
+private:
/**
* Manage which resource is in which channel
*/