|
|
@ -314,8 +314,8 @@ async function handleRegularMessage(
|
|
|
|
if (type === 'outgoing') {
|
|
|
|
if (type === 'outgoing') {
|
|
|
|
handleSyncedReceipts(message, conversation);
|
|
|
|
handleSyncedReceipts(message, conversation);
|
|
|
|
|
|
|
|
|
|
|
|
// TODO: Can we assume sync receipts are always from linked device outgoings?
|
|
|
|
// assumes sync receipts are always from linked device outgoings?
|
|
|
|
if (dataMessage.body !== 'unapprove') conversation.setIsApproved(true);
|
|
|
|
conversation.setIsApproved(true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const conversationActiveAt = conversation.get('active_at');
|
|
|
|
const conversationActiveAt = conversation.get('active_at');
|
|
|
|