From 98ef49e78734b1d9cc3b0145ad256b8f14b769b6 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Tue, 22 Apr 2014 20:13:02 +0200 Subject: Fix the kick by correctly using the from and to attributes --- src/xmpp/xmpp_component.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xmpp/xmpp_component.cpp') diff --git a/src/xmpp/xmpp_component.cpp b/src/xmpp/xmpp_component.cpp index 17afd63..78149c4 100644 --- a/src/xmpp/xmpp_component.cpp +++ b/src/xmpp/xmpp_component.cpp @@ -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"); -- cgit v1.2.3