~singpolyma/biboumi

50d3c4a0b20a4fde582d186e4c9a2226755b1a04 — louiz’ 5 years ago fd7c365
Do not forget an early return, to return the correct item-not-found error
1 files changed, 1 insertions(+), 0 deletions(-)

M src/xmpp/biboumi_component.cpp
M src/xmpp/biboumi_component.cpp => src/xmpp/biboumi_component.cpp +1 -0
@@ 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)))