getProfile: When no name in response, keep previous name

This commit is contained in:
Scott Nonnenberg
2026-02-25 04:08:23 +10:00
committed by GitHub
parent 239b57576f
commit 92af6626fe

View File

@@ -814,12 +814,6 @@ async function doGetProfile(
} else {
log.warn(`${logId}: No key to decrypt 'name' field; skipping`);
}
} else {
log.warn(`${logId}: 'name' field missing; clearing profile name`);
c.set({
profileName: undefined,
profileFamilyName: undefined,
});
}
try {