Commit 50d3c4a0 authored by louiz’'s avatar louiz’

Do not forget an early return, to return the correct item-not-found error

parent fd7c3652
......@@ -472,6 +472,7 @@ void BiboumiComponent::handle_iq(const Stanza& stanza)
stanza_error.disable();
} catch (const Database::RecordNotFound& exc) {
error_name = "item-not-found";
return;
}
}
else if ((query = stanza.get_child("query", MUC_OWNER_NS)))
......
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