diff --git a/src/components/emoji_input/emoji_input.js b/src/components/emoji_input/emoji_input.js index 3deeb6c84c..2068a598c7 100644 --- a/src/components/emoji_input/emoji_input.js +++ b/src/components/emoji_input/emoji_input.js @@ -186,7 +186,6 @@ const EmojiInput = { this.suggestions = take(matchedSuggestions, 5) .map(({ imageUrl, ...rest }) => ({ ...rest, - // eslint-disable-next-line camelcase img: imageUrl || '' })) }, diff --git a/src/modules/users.js b/src/modules/users.js index 4bdf3360cd..655db4c7ed 100644 --- a/src/modules/users.js +++ b/src/modules/users.js @@ -442,10 +442,10 @@ const users = { store.commit('setUserForNotification', notification) }) }, - searchUsers ({ rootState, commit }, { query, saveUsers = true }) { + searchUsers ({ rootState, commit }, { query }) { return rootState.api.backendInteractor.searchUsers({ query }) .then((users) => { - if (saveUsers) commit('addNewUsers', users) + commit('addNewUsers', users) return users }) },