mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
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:
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…
Reference in a new issue