mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
getSendOptions: Disable sealed sender whenever sending to own account
This commit is contained in:
@@ -50,8 +50,8 @@ export async function getSendOptions(
|
||||
|
||||
const { accessKey, sealedSender } = conversationAttrs;
|
||||
|
||||
// We never send sync messages as sealed sender
|
||||
if (syncMessage && isMe(conversationAttrs)) {
|
||||
// We never send sync messages or to our own account as sealed sender
|
||||
if (syncMessage || isMe(conversationAttrs)) {
|
||||
return {
|
||||
sendMetadata: undefined,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user