Compare commits

...

1 Commits

Author SHA1 Message Date
Aaron van Meerten df99061bb2 fixes authentication of rooms which do not contain the auth domain 2017-06-29 12:20:21 -05:00
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