Commit 50a2bd73 authored by louiz’'s avatar louiz’
Browse files

Answer to presences of type='probe'

parent befdefd9
......@@ -188,6 +188,12 @@ void BiboumiComponent::handle_presence(const Stanza& stanza)
Database::delete_roster_item(to_str, from.bare());
else if (type == "probe")
if ((iid.type == Iid::Type::Server && bridge->find_irc_client(iid.get_server())) ||
iid.type == Iid::Type::None)
this->send_presence_to_contact(to_str, from.bare(), "");
else if (type.empty())
{ // We just receive a presence from someone (as the result of a probe,
// or a directed presence, or a normal presence change)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment