Commit 98ef49e7 authored by louiz’'s avatar louiz’

Fix the kick by correctly using the from and to attributes

parent 0b4f761e
......@@ -380,7 +380,7 @@ void XmppComponent::handle_iq(const Stanza& stanza)
}
Bridge* bridge = this->get_user_bridge(from);
Jid to(from);
Jid to(to_str);
std::string error_type("cancel");
std::string error_name("internal-server-error");
......
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