Do not reply with an error when receiving a presence for a user JID
fix #3224
This commit is contained in:
@@ -210,11 +210,8 @@ void BiboumiComponent::handle_presence(const Stanza& stanza)
|
||||
this->send_presence_to_contact(to_str, from.bare(), "");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// A user wants to join an invalid IRC channel, return a presence error to him/her
|
||||
if (type.empty())
|
||||
this->send_invalid_room_error(to.local, to.resource, from_str);
|
||||
else if (iid.type == Iid::Type::User)
|
||||
{ // Do nothing yet
|
||||
}
|
||||
}
|
||||
catch (const IRCNotConnected& ex)
|
||||
|
||||
Reference in New Issue
Block a user