Add "call back", "call again" buttons to timeline

This commit is contained in:
Evan Hahn 2021-09-10 18:59:41 -05:00 committed by GitHub
parent d94f1151b1
commit bfa0bbf7da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 203 additions and 71 deletions

View file

@ -165,6 +165,8 @@ type PropsLocalType = {
i18n: LocalizerType;
interactionMode: InteractionModeType;
theme?: ThemeType;
previousItem: undefined | TimelineItemType;
nextItem: undefined | TimelineItemType;
};
type PropsActionsType = MessageActionsType &
@ -192,6 +194,7 @@ export class TimelineItem extends React.PureComponent<PropsType> {
i18n,
theme,
messageSizeChanged,
nextItem,
renderContact,
renderUniversalTimerNotification,
returnToActiveCall,
@ -231,6 +234,7 @@ export class TimelineItem extends React.PureComponent<PropsType> {
i18n={i18n}
messageId={id}
messageSizeChanged={messageSizeChanged}
nextItem={nextItem}
returnToActiveCall={returnToActiveCall}
startCallingLobby={startCallingLobby}
{...item.data}