Fix the kick by correctly using the from and to attributes

This commit is contained in:
Florent Le Coz
2014-04-22 20:13:02 +02:00
parent 0b4f761e31
commit 98ef49e787
+1 -1
View File
@@ -380,7 +380,7 @@ void XmppComponent::handle_iq(const Stanza& stanza)
} }
Bridge* bridge = this->get_user_bridge(from); Bridge* bridge = this->get_user_bridge(from);
Jid to(from); Jid to(to_str);
std::string error_type("cancel"); std::string error_type("cancel");
std::string error_name("internal-server-error"); std::string error_name("internal-server-error");