You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-07 21:23:00 +03:00
Replace some usages of the MatrixClientPeg in favour of passing it around
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -995,12 +995,12 @@ async function startMatrixClient(
|
||||
ToastStore.sharedInstance().reset();
|
||||
|
||||
DialogOpener.instance.prepare(client);
|
||||
Notifier.start();
|
||||
Notifier.start(client);
|
||||
UserActivity.sharedInstance().start();
|
||||
DMRoomMap.makeShared(client).start();
|
||||
IntegrationManagers.sharedInstance().startWatching();
|
||||
ActiveWidgetStore.instance.start();
|
||||
LegacyCallHandler.instance.start();
|
||||
IntegrationManagers.sharedInstance().startWatching(client);
|
||||
ActiveWidgetStore.instance.start(client);
|
||||
LegacyCallHandler.instance.start(client);
|
||||
|
||||
// Start Mjolnir even though we haven't checked the feature flag yet. Starting
|
||||
// the thing just wastes CPU cycles, but should result in no actual functionality
|
||||
|
Reference in New Issue
Block a user