diff --git a/react/features/app/functions.native.js b/react/features/app/functions.native.js index 8f03e7bca..4a692bb61 100644 --- a/react/features/app/functions.native.js +++ b/react/features/app/functions.native.js @@ -126,7 +126,7 @@ function _getRoomAndDomainFromURLObject(url) { let room; if (url) { - domain = url.hostname; + domain = url.host; // The room (name) is the last component of pathname. room = url.pathname;