mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 18:38:15 +01:00
Attachment controller fixes
This commit is contained in:
committed by
Jamie Kyle
parent
55c96ba7ae
commit
71958f8a01
@@ -553,7 +553,7 @@ const WEBSOCKET_CALLS = new Set<keyof typeof URL_CALLS>([
|
||||
// ProfileController
|
||||
'profile',
|
||||
|
||||
// AttachmentControllerV2
|
||||
// AttachmentControllerV3
|
||||
'attachmentId',
|
||||
|
||||
// RemoteConfigController
|
||||
@@ -2757,6 +2757,12 @@ export function initialize({
|
||||
type: 'PUT',
|
||||
version,
|
||||
data: encryptedBin,
|
||||
redactUrl: () => {
|
||||
const tmp = new URL(uploadLocation);
|
||||
tmp.search = '';
|
||||
tmp.pathname = '';
|
||||
return `${tmp}[REDACTED]`;
|
||||
},
|
||||
});
|
||||
|
||||
return cdnKey;
|
||||
|
||||
Reference in New Issue
Block a user