From 17733a66f9b199b351ba87951c2d9116667ab7ab Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Fri, 12 Aug 2016 11:40:25 +0100 Subject: [PATCH] rename MatrixChat defaultDeviceDisplayName prop --- src/vector/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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') );