mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-18 07:36:00 +01:00
getProfile: When no name in response, keep previous name
This commit is contained in:
@@ -814,12 +814,6 @@ async function doGetProfile(
|
|||||||
} else {
|
} else {
|
||||||
log.warn(`${logId}: No key to decrypt 'name' field; skipping`);
|
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 {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user