diff options
Diffstat (limited to 'app/features/settings/reducer.js')
-rw-r--r-- | app/features/settings/reducer.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/features/settings/reducer.js b/app/features/settings/reducer.js index 11fea6d..b30c9f9 100644 --- a/app/features/settings/reducer.js +++ b/app/features/settings/reducer.js @@ -1,7 +1,5 @@ // @flow -import os from 'os'; - import { getAvatarURL } from 'js-utils'; import { @@ -22,7 +20,7 @@ type State = { startWithVideoMuted: boolean }; -const username = os.userInfo().username; +const username = window.jitsiNodeAPI.osUserInfo().username; const DEFAULT_STATE = { avatarURL: getAvatarURL({ id: username }), |