Moves parts of conversation view into redux

This commit is contained in:
Josh Perez 2022-12-05 17:56:23 -05:00 committed by GitHub
parent a49a6f2057
commit 9348940ecf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 693 additions and 461 deletions

View file

@ -25,20 +25,17 @@ import { mapDispatchToProps } from '../actions';
import { missingCaseError } from '../../util/missingCaseError';
import { strictAssert } from '../../util/assert';
import { isSignalConversation } from '../../util/isSignalConversation';
import type { DurationInSeconds } from '../../util/durations';
export type OwnProps = {
id: string;
onArchive: () => void;
onDeleteMessages: () => void;
onGoBack: () => void;
onMarkUnread: () => void;
onMoveToInbox: () => void;
onOutgoingAudioCallInConversation: () => void;
onOutgoingVideoCallInConversation: () => void;
onSearchInConversation: () => void;
onSetDisappearingMessages: (seconds: DurationInSeconds) => void;
onSetMuteNotifications: (seconds: number) => void;
onSetPin: (value: boolean) => void;
onShowAllMedia: () => void;