Properly handle force-join presences by sending everything in return

fix #3305
This commit is contained in:
louiz’
2018-03-23 16:16:30 +01:00
parent cdace80758
commit e2fc3cf68e
4 changed files with 54 additions and 5 deletions
+1 -1
View File
@@ -181,7 +181,7 @@ void BiboumiComponent::handle_presence(const Stanza& stanza)
history_limit.stanzas = 0;
}
bridge->join_irc_channel(iid, to.resource, password ? password->get_inner(): "",
from.resource, history_limit);
from.resource, history_limit, x != nullptr);
}
else if (type == "unavailable")
{