fix: typing message trigger ui refresh

also do not mark a conversation as trusted for attachment when getting
messagerequest response
pull/2524/head
Audric Ackermann 3 years ago
parent cec368b38e
commit 67817c516f

@ -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) {

Loading…
Cancel
Save