mirror of https://github.com/vector-im/riot-web
Use the correct settings store for presence
Signed-off-by: Travis Ralston <travpc@gmail.com>pull/21833/head
parent
443bff5832
commit
f58e8826c0
|
@ -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 New Issue