fixes authentication of rooms which do not contain the auth domain

This commit is contained in:
Aaron van Meerten 2017-06-29 12:20:21 -05:00
parent ab81c2b56d
commit df99061bb2
1 changed files with 1 additions and 1 deletions

View File

@ -310,7 +310,7 @@ function Util:verify_room(session, room_address)
-- we do not have a domain part (multidomain is not enabled)
-- verify with info from the token
return room_address_to_verify == jid.join(
string.lower(room_to_check), self.muc_domain_prefix.."."..auth_domain);
string.lower(room_to_check), self.muc_domain);
end
end