[WIP] DummyIrcChannel

This commit is contained in:
Florent Le Coz
2014-04-13 15:37:56 +02:00
parent 65601a96d2
commit 020325dbb0
7 changed files with 101 additions and 4 deletions
+3 -2
View File
@@ -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);