summaryrefslogtreecommitdiff
path: root/src/xmpp
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-04-13 15:37:56 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-04-13 15:37:56 +0200
commit020325dbb071f1735bceb80de9f982aefcd2de47 (patch)
tree6d87663ec9f4a31016e7b1fac662000d30c223ce /src/xmpp
parent65601a96d20d4ce010723df3a059ee5a9713fae7 (diff)
downloadbiboumi-020325dbb071f1735bceb80de9f982aefcd2de47.tar.gz
biboumi-020325dbb071f1735bceb80de9f982aefcd2de47.tar.bz2
biboumi-020325dbb071f1735bceb80de9f982aefcd2de47.tar.xz
biboumi-020325dbb071f1735bceb80de9f982aefcd2de47.zip
[WIP] DummyIrcChannel
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/xmpp_component.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xmpp/xmpp_component.cpp b/src/xmpp/xmpp_component.cpp
index 2799a21..e558e46 100644
--- a/src/xmpp/xmpp_component.cpp
+++ b/src/xmpp/xmpp_component.cpp
@@ -290,8 +290,9 @@ void XmppComponent::handle_presence(const Stanza& stanza)
error_type, error_name, "");
});
- if (!iid.chan.empty() && !iid.server.empty())
- { // presence toward a MUC that corresponds to an irc channel
+ if (!iid.server.empty())
+ { // presence toward a MUC that corresponds to an irc channel, or a
+ // dummy channel if iid.chan is empty
if (type.empty())
{
const std::string own_nick = bridge->get_own_nick(iid);