Support multiple nick session, except for IQs

ref #2556
This commit is contained in:
louiz’
2016-06-08 01:42:43 +02:00
parent 507d0c2cbe
commit 2d11a5f494
8 changed files with 118 additions and 59 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ void BiboumiComponent::handle_presence(const Stanza& stanza)
else if (type == "unavailable")
{
const XmlNode* status = stanza.get_child("status", COMPONENT_NS);
bridge->leave_irc_channel(std::move(iid), status ? status->get_inner() : "");
bridge->leave_irc_channel(std::move(iid), status ? status->get_inner() : "", from.resource);
}
}
else