Properly handle force-join presences by sending everything in return

fix #3305
This commit is contained in:
louiz’ committed 2018-03-23 16:16:30 +01:00
1 parent cdace80758
commit e2fc3cf68e
4 files changed
+54 -5

No files matched your search

+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")
{