1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-16 22:01:54 +03:00

port over low_bandwidth mode to develop

This commit is contained in:
Matthew Hodgson
2019-02-08 16:44:03 +00:00
parent a6914274b0
commit ce24165e19
8 changed files with 30 additions and 6 deletions

View File

@ -31,6 +31,7 @@ import Modal from './Modal';
import sdk from './index';
import ActiveWidgetStore from './stores/ActiveWidgetStore';
import PlatformPeg from "./PlatformPeg";
import SettingsStore from "./settings/SettingsStore";
import {sendLoginRequest} from "./Login";
/**
@ -440,7 +441,9 @@ async function startMatrixClient() {
Notifier.start();
UserActivity.start();
Presence.start();
if (!SettingsStore.getValue("lowBandwidth")) {
Presence.start();
}
DMRoomMap.makeShared().start();
ActiveWidgetStore.start();