|
|
@ -248,10 +248,12 @@ async function handleRegularMessage(
|
|
|
|
|
|
|
|
|
|
|
|
if (type === 'incoming') {
|
|
|
|
if (type === 'incoming') {
|
|
|
|
updateReadStatus(message, conversation);
|
|
|
|
updateReadStatus(message, conversation);
|
|
|
|
|
|
|
|
await conversation.setDidApproveMe(true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (type === 'outgoing') {
|
|
|
|
if (type === 'outgoing') {
|
|
|
|
await handleSyncedReceipts(message, conversation);
|
|
|
|
await handleSyncedReceipts(message, conversation);
|
|
|
|
|
|
|
|
await conversation.setIsApproved(true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const conversationActiveAt = conversation.get('active_at');
|
|
|
|
const conversationActiveAt = conversation.get('active_at');
|
|
|
|