From f1936fdd082f104f278b292a7f11231f53c2a16b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Mon, 9 Sep 2019 22:04:54 +0200 Subject: Actually fix that correctly instead of the opposite --- src/bridge/bridge.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bridge/bridge.cpp b/src/bridge/bridge.cpp index 0356a84..71c0ea4 100644 --- a/src/bridge/bridge.cpp +++ b/src/bridge/bridge.cpp @@ -1000,7 +1000,7 @@ void Bridge::send_user_join(const std::string& hostname, const std::string& chan std::string full_jid = encoded_nick_name + utils::empty_if_fixed_server("%" + hostname) + "@" + this->xmpp.get_served_hostname(); - if (user->host.empty()) + if (!user->host.empty()) full_jid += "/" + user->host; this->xmpp.send_user_join(encoded_chan_name + utils::empty_if_fixed_server("%" + hostname), -- cgit v1.2.3