From f58e8826c047ab12cfc17d2cdd4479c51dcb9b0f Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Tue, 14 Nov 2017 19:18:04 -0700 Subject: [PATCH] Use the correct settings store for presence Signed-off-by: Travis Ralston --- src/components/views/avatars/MemberPresenceAvatar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/avatars/MemberPresenceAvatar.js b/src/components/views/avatars/MemberPresenceAvatar.js index 19342f3492..648b798b67 100644 --- a/src/components/views/avatars/MemberPresenceAvatar.js +++ b/src/components/views/avatars/MemberPresenceAvatar.js @@ -22,8 +22,8 @@ import MatrixClientPeg from "../../../MatrixClientPeg"; import AccessibleButton from '../elements/AccessibleButton'; import Presence from "../../../Presence"; import dispatcher from "../../../dispatcher"; -import UserSettingsStore from "../../../UserSettingsStore"; import * as ContextualMenu from "../../structures/ContextualMenu"; +import SettingsStore from "../../../settings/SettingsStore"; module.exports = React.createClass({ displayName: 'MemberPresenceAvatar', @@ -133,7 +133,7 @@ module.exports = React.createClass({ ); // LABS: Disable presence management functions for now - if (!UserSettingsStore.isFeatureEnabled("feature_presence_management")) { + if (!SettingsStore.isFeatureEnabled("feature_presence_management")) { statusNode = null; onClickFn = null; }