Cancel throttled refreshRemoteConfig on link
This commit is contained in:
parent
211e1f697b
commit
32237d7008
1 changed files with 4 additions and 0 deletions
|
@ -1834,6 +1834,10 @@ export async function startApp(): Promise<void> {
|
|||
server.authenticate(
|
||||
window.textsecure.storage.user.getWebAPICredentials()
|
||||
);
|
||||
|
||||
// Cancel throttled calls to refreshRemoteConfig since our auth changed.
|
||||
window.Signal.RemoteConfig.maybeRefreshRemoteConfig.cancel();
|
||||
|
||||
connect(true);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue