Context menu for left pane list items

This commit is contained in:
Fedor Indutny
2023-04-05 13:48:00 -07:00
committed by GitHub
parent 02dedc7157
commit f61d8f38b0
43 changed files with 1046 additions and 110 deletions

View File

@@ -28,7 +28,11 @@ export function isConversationAccepted(
const messageRequestEnum = Proto.SyncMessage.MessageRequestResponse.Type;
const { messageRequestResponseType } = conversationAttrs;
const { messageRequestResponseType, removalStage } = conversationAttrs;
if (removalStage !== undefined) {
return false;
}
if (messageRequestResponseType === messageRequestEnum.ACCEPT) {
return true;
}