Actually fix that correctly instead of the opposite

This commit is contained in:
louiz’
2019-09-09 22:04:54 +02:00
parent 8a6d053be9
commit f1936fdd08
+1 -1
View File
@@ -1000,7 +1000,7 @@ void Bridge::send_user_join(const std::string& hostname, const std::string& chan
std::string full_jid = std::string full_jid =
encoded_nick_name + utils::empty_if_fixed_server("%" + hostname) encoded_nick_name + utils::empty_if_fixed_server("%" + hostname)
+ "@" + this->xmpp.get_served_hostname(); + "@" + this->xmpp.get_served_hostname();
if (user->host.empty()) if (!user->host.empty())
full_jid += "/" + user->host; full_jid += "/" + user->host;
this->xmpp.send_user_join(encoded_chan_name + utils::empty_if_fixed_server("%" + hostname), this->xmpp.send_user_join(encoded_chan_name + utils::empty_if_fixed_server("%" + hostname),