summaryrefslogtreecommitdiff
path: root/src/bridge
diff options
context:
space:
mode:
Diffstat (limited to 'src/bridge')
-rw-r--r--src/bridge/bridge.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bridge/bridge.cpp b/src/bridge/bridge.cpp
index 4976ed2..eee4bd2 100644
--- a/src/bridge/bridge.cpp
+++ b/src/bridge/bridge.cpp
@@ -483,8 +483,7 @@ void Bridge::send_irc_user_ping_request(const std::string& irc_hostname, const s
const std::string id = body.substr(6, body.size() - 7);
if (id != iq_id)
return false;
- Jid jid(from_jid);
- this->xmpp.send_iq_result(iq_id, to_jid, jid.local);
+ this->xmpp.send_iq_result_full_jid(iq_id, to_jid, from_jid);
return true;
}
if (message.command == "401" && message.arguments[1] == nick)