summaryrefslogtreecommitdiff
path: root/src/xmpp/biboumi_component.hpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-05-22 12:54:18 +0200
committerlouiz’ <louiz@louiz.org>2016-06-08 01:42:43 +0200
commit711861d40e365564e3828a251066c16e924d30f3 (patch)
treef9501b71283afbdab0c06b4e9b4cc6cc8ec8ae03 /src/xmpp/biboumi_component.hpp
parent367de4826c3c7298a88e80c92e325081a3c3d794 (diff)
downloadbiboumi-711861d40e365564e3828a251066c16e924d30f3.tar.gz
biboumi-711861d40e365564e3828a251066c16e924d30f3.tar.bz2
biboumi-711861d40e365564e3828a251066c16e924d30f3.tar.xz
biboumi-711861d40e365564e3828a251066c16e924d30f3.zip
Add methods to know which resource is on which server or channel
Diffstat (limited to 'src/xmpp/biboumi_component.hpp')
-rw-r--r--src/xmpp/biboumi_component.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmpp/biboumi_component.hpp b/src/xmpp/biboumi_component.hpp
index 4d5995e..25982f2 100644
--- a/src/xmpp/biboumi_component.hpp
+++ b/src/xmpp/biboumi_component.hpp
@@ -35,7 +35,7 @@ public:
* Returns the bridge for the given user. If it does not exist, return
* nullptr.
*/
- Bridge* find_user_bridge(const std::string& user_jid);
+ Bridge* find_user_bridge(const std::string& full_jid);
/**
* Return a list of all the managed bridges.
*/
@@ -97,7 +97,7 @@ private:
std::map<std::string, iq_responder_callback_t> waiting_iq;
/**
- * One bridge for each user of the component. Indexed by the user's full
+ * One bridge for each user of the component. Indexed by the user's bare
* jid
*/
std::unordered_map<std::string, std::unique_ptr<Bridge>> bridges;