Fix some backup integration tests

This commit is contained in:
Fedor Indutny 2024-09-16 15:12:41 -07:00 committed by GitHub
parent aa75ec13a6
commit f91ec886a2
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();
});
}