rename MatrixChat defaultDeviceDisplayName prop

This commit is contained in:
Richard van der Hoff 2016-08-12 11:40:25 +01:00
parent 3a819a29b7
commit 17733a66f9

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