diff --git a/src/vector/index.js b/src/vector/index.js index 6264f744d0..fff61bed49 100644 --- a/src/vector/index.js +++ b/src/vector/index.js @@ -137,7 +137,7 @@ var makeRegistrationUrl = function() { } -function getDefaultDeviceName() { +function getDefaultDeviceDisplayName() { // strip query-string and fragment from uri let u = url.parse(window.location.href); u.search = ""; @@ -253,7 +253,7 @@ async function loadApp() { startingFragmentQueryParams={fragparts.params} enableGuest={true} onLoadCompleted={onLoadCompleted} - default_device_name={getDefaultDeviceName()} + defaultDeviceDisplayName={getDefaultDeviceDisplayName()} />, document.getElementById('matrixchat') );