fix: typing message trigger ui refresh

also do not mark a conversation as trusted for attachment when getting
messagerequest response
This commit is contained in:
Audric Ackermann 2022-09-29 15:23:51 +10:00
parent cec368b38e
commit 67817c516f

View file

@ -533,6 +533,7 @@ async function handleTypingMessage(
isTyping: started,
sender: source,
});
await conversation.commit();
}
}
@ -621,11 +622,11 @@ async function handleMessageRequestResponse(
);
const mostRecentActiveAt =
Math.max(...compact(convosToMerge.map(m => m.get('active_at')))) || Date.now();
conversationToApprove.set({
active_at: mostRecentActiveAt,
isApproved: true,
didApproveMe: true,
isTrustedForAttachmentDownload: true,
});
if (convosToMerge.length) {