From 2aa272518cfcf78b3175266b7ecd31f04a29ff8c Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 30 May 2018 15:36:41 +1000 Subject: [PATCH] Plex Home support --- src/store/modules/synclounge.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store/modules/synclounge.js b/src/store/modules/synclounge.js index 9dafb39c..b13ef633 100644 --- a/src/store/modules/synclounge.js +++ b/src/store/modules/synclounge.js @@ -8,7 +8,7 @@ function sendNotification (message) { function HandshakeUser (user, room, password, uuid, username) { var tempUser = { - username: username || user.username, + username: username || user.username || user.title, room: room, password: password, avatarUrl: user.thumb, @@ -186,7 +186,7 @@ export default { let data = { urlOrigin: urlOrigin, - owner: rootState.plex.user.username, + owner: rootState.plex.user.username || rootState.plex.user.title, server: state.server, room: state.room, password: state.password || ''