]> cat aescling's git repositories - mastodon.git/blobdiff - app/javascript/mastodon/reducers/accounts.js
Add emoji autosuggest (#5053)
[mastodon.git] / app / javascript / mastodon / reducers / accounts.js
index 6442d13bef9daab1616d40f9f9ad62257b3e9749..5391a93ae0c9ba85fee96e312d910a545d802784 100644 (file)
@@ -110,7 +110,7 @@ export default function accounts(state = initialState, action) {
   case BLOCKS_EXPAND_SUCCESS:
   case MUTES_FETCH_SUCCESS:
   case MUTES_EXPAND_SUCCESS:
-    return normalizeAccounts(state, action.accounts);
+    return action.accounts ? normalizeAccounts(state, action.accounts) : state;
   case NOTIFICATIONS_REFRESH_SUCCESS:
   case NOTIFICATIONS_EXPAND_SUCCESS:
   case SEARCH_FETCH_SUCCESS:
This page took 0.027296 seconds and 3 git commands to generate.