summaryrefslogtreecommitdiff
path: root/src/xmpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-06-08 01:32:39 +0200
committerlouiz’ <louiz@louiz.org>2016-06-08 01:42:43 +0200
commit2d11a5f49454717c404b25825f18e696281207d9 (patch)
tree8e6df453d71dc75b001e59bcc061096cf41e8866 /src/xmpp
parent507d0c2cbe3c41e3d8e6d38862fe418cb551adf3 (diff)
downloadbiboumi-2d11a5f49454717c404b25825f18e696281207d9.tar.gz
biboumi-2d11a5f49454717c404b25825f18e696281207d9.tar.bz2
biboumi-2d11a5f49454717c404b25825f18e696281207d9.tar.xz
biboumi-2d11a5f49454717c404b25825f18e696281207d9.zip
Support multiple nick session, except for IQs
ref #2556
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/biboumi_component.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/biboumi_component.cpp b/src/xmpp/biboumi_component.cpp
index 6a9bc87..62e17d0 100644
--- a/src/xmpp/biboumi_component.cpp
+++ b/src/xmpp/biboumi_component.cpp
@@ -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