Fix the kick by correctly using the from and to attributes
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user