rename MatrixChat defaultDeviceDisplayName prop

pull/1959/head
Richard van der Hoff 2016-08-12 11:40:25 +01:00
parent 3a819a29b7
commit 17733a66f9
1 changed files with 2 additions and 2 deletions

View File

@ -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')
);