Fix some backup integration tests

This commit is contained in:
Fedor Indutny 2024-09-12 16:48:27 -07:00 committed by GitHub
parent c68be0f86e
commit 3a991822c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 450 additions and 231 deletions

View file

@ -182,6 +182,10 @@ export class ConversationController {
// we can reset the mute state on the model. If the mute has already expired
// then we reset the state right away.
this._conversations.on('add', (model: ConversationModel): void => {
// Don't modify conversations in backup integration testing
if (window.SignalCI?.isBackupIntegration) {
return;
}
model.startMuteTimer();
});
}