mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-19 07:58:46 +01:00
Fix sending receipts to terminated groups
Co-authored-by: ayumi-signal <143036029+ayumi-signal@users.noreply.github.com>
This commit is contained in:
@@ -365,15 +365,6 @@ export async function handleDataMessage(
|
||||
}
|
||||
}
|
||||
|
||||
// Drop incoming messages to terminated groups
|
||||
if (conversation.get('terminated')) {
|
||||
log.warn(
|
||||
`Received message for terminated group ${conversation.idForLogging()}. Dropping.`
|
||||
);
|
||||
confirm();
|
||||
return;
|
||||
}
|
||||
|
||||
const messageId =
|
||||
message.get('id') || generateMessageId(message.get('received_at')).id;
|
||||
|
||||
@@ -406,6 +397,15 @@ export async function handleDataMessage(
|
||||
);
|
||||
}
|
||||
|
||||
// Drop incoming messages to terminated groups
|
||||
if (conversation.get('terminated')) {
|
||||
log.warn(
|
||||
`Received message for terminated group ${conversation.idForLogging()}. Dropping.`
|
||||
);
|
||||
confirm();
|
||||
return;
|
||||
}
|
||||
|
||||
const { storyContext } = initialMessage;
|
||||
let storyContextLogId = 'no storyContext';
|
||||
if (storyContext) {
|
||||
|
||||
Reference in New Issue
Block a user