Refresh remote config right after registration

This commit is contained in:
Fedor Indutny 2022-11-03 13:36:55 -07:00 committed by GitHub
parent c286e0f9c6
commit 7164b603e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1853,6 +1853,7 @@ export async function startApp(): Promise<void> {
// Cancel throttled calls to refreshRemoteConfig since our auth changed.
window.Signal.RemoteConfig.maybeRefreshRemoteConfig.cancel();
window.Signal.RemoteConfig.maybeRefreshRemoteConfig(server);
connect(true);
});