aboutsummaryrefslogtreecommitdiff
path: root/app/features/settings/reducer.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/features/settings/reducer.js')
-rw-r--r--app/features/settings/reducer.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/features/settings/reducer.js b/app/features/settings/reducer.js
index bed9a11..ff6df6e 100644
--- a/app/features/settings/reducer.js
+++ b/app/features/settings/reducer.js
@@ -1,7 +1,5 @@
// @flow
-import { getAvatarURL } from 'js-utils';
-
import {
SET_ALWAYS_ON_TOP_WINDOW_ENABLED,
SET_AUDIO_MUTED,
@@ -12,6 +10,7 @@ import {
SET_SERVER_TIMEOUT,
SET_VIDEO_MUTED
} from './actionTypes';
+import { getAvatarURL } from './functions';
type State = {
avatarURL: string,
@@ -28,7 +27,7 @@ const username = window.jitsiNodeAPI.osUserInfo().username;
const DEFAULT_STATE = {
alwaysOnTopWindowEnabled: true,
- avatarURL: getAvatarURL({ id: username }),
+ avatarURL: getAvatarURL({ settings: { name: username } }),
email: '',
name: username,
serverURL: undefined,