Commit 59a73c93 authored by louiz’'s avatar louiz’

Do not send an “not-implemented” error when receiving an iq error

parent c65ae475
......@@ -289,7 +289,7 @@ void BiboumiComponent::handle_message(const Stanza& stanza)
// We MUST return an iq, whatever happens, except if the type is
// "result".
// "result" or "error".
// To do this, we use a scopeguard. If an exception is raised somewhere, an
// iq of type error "internal-server-error" is sent. If we handle the
// request properly (by calling a function that registers an iq to be sent
......@@ -557,6 +557,10 @@ void BiboumiComponent::handle_iq(const Stanza& stanza)
else if (type == "error")
catch (const IRCNotConnected& ex)
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