Conversation details screen for 1:1 chats

This commit is contained in:
Josh Perez 2021-10-20 19:46:41 -04:00 committed by GitHub
parent 3a507349cd
commit 2e438aa876
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
35 changed files with 1357 additions and 1102 deletions

View file

@ -25,7 +25,7 @@ export type SmartConversationDetailsProps = {
loadRecentMediaItems: (limit: number) => void;
setDisappearingMessages: (seconds: number) => void;
showAllMedia: () => void;
showGroupChatColorEditor: () => void;
showChatColorEditor: () => void;
showGroupLinkManagement: () => void;
showGroupV2Permissions: () => void;
showConversationNotificationsSettings: () => void;
@ -42,6 +42,10 @@ export type SmartConversationDetailsProps = {
) => Promise<void>;
onBlock: () => void;
onLeave: () => void;
onUnblock: () => void;
setMuteExpiration: (muteExpiresAt: undefined | number) => unknown;
onOutgoingAudioCallInConversation: () => unknown;
onOutgoingVideoCallInConversation: () => unknown;
};
const ACCESS_ENUM = Proto.AccessControl.AccessRequired;
@ -75,6 +79,7 @@ const mapStateToProps = (
...getGroupMemberships(conversation, conversationSelector),
userAvatarData: conversation.avatars || [],
hasGroupLink,
isGroup: conversation.type === 'group',
};
};