diff --git a/packages/backend/src/server/api/endpoints/i/update.ts b/packages/backend/src/server/api/endpoints/i/update.ts index d684b43daf..3c5b02d4bb 100644 --- a/packages/backend/src/server/api/endpoints/i/update.ts +++ b/packages/backend/src/server/api/endpoints/i/update.ts @@ -498,7 +498,11 @@ export default class extends Endpoint { // eslint- this.globalEventService.publishInternalEvent('localUserUpdated', { id: user.id }); } - if (Object.keys(_profileUpdates).length > 0 || profile.verifiedLinks.length > 0) { + if ( + Object.keys(_profileUpdates).length > 0 || + profile.fields.filter(x => x.value.startsWith('https://')).length > 0 || + profile.verifiedLinks.length > 0 + ) { await this.userProfilesRepository.update(user.id, { ..._profileUpdates, verifiedLinks: [],