Add methods to know which resource is on which server or channel

This commit is contained in:
louiz’
2016-06-08 01:42:43 +02:00
parent 367de4826c
commit 711861d40e
4 changed files with 48 additions and 7 deletions
+2 -2
View File
@@ -519,9 +519,9 @@ Bridge* BiboumiComponent::get_user_bridge(const std::string& user_jid)
}
}
Bridge* BiboumiComponent::find_user_bridge(const std::string& user_jid)
Bridge* BiboumiComponent::find_user_bridge(const std::string& full_jid)
{
auto bare_jid = Jid{user_jid}.bare();
auto bare_jid = Jid{full_jid}.bare();
try
{
return this->bridges.at(bare_jid).get();