mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 18:25:49 +03:00
Use the correct settings store for presence
Signed-off-by: Travis Ralston <travpc@gmail.com>
This commit is contained in:
parent
443bff5832
commit
f58e8826c0
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue