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

@ -5669,7 +5669,7 @@ export async function applyNewAvatar(
// Group has avatar; has it changed?
if (
newAvatarUrl &&
(!attributes.avatar || attributes.avatar.url !== newAvatarUrl)
(!attributes.avatar?.path || attributes.avatar.url !== newAvatarUrl)
) {
if (!attributes.secretParams) {
throw new Error('applyNewAvatar: group was missing secretParams!');