Universal Disappearing Messages
This commit is contained in:
parent
c63871d71b
commit
19f8042cd3
50 changed files with 1224 additions and 191 deletions
|
@ -17,6 +17,7 @@ import {
|
|||
} from '../selectors/conversations';
|
||||
|
||||
import { SmartContactName } from './ContactName';
|
||||
import { SmartUniversalTimerNotification } from './UniversalTimerNotification';
|
||||
|
||||
type ExternalProps = {
|
||||
id: string;
|
||||
|
@ -33,6 +34,10 @@ function renderContact(conversationId: string): JSX.Element {
|
|||
return <FilteredSmartContactName conversationId={conversationId} />;
|
||||
}
|
||||
|
||||
function renderUniversalTimerNotification(): JSX.Element {
|
||||
return <SmartUniversalTimerNotification />;
|
||||
}
|
||||
|
||||
const mapStateToProps = (state: StateType, props: ExternalProps) => {
|
||||
const { id, conversationId } = props;
|
||||
|
||||
|
@ -60,6 +65,7 @@ const mapStateToProps = (state: StateType, props: ExternalProps) => {
|
|||
customColor: conversation?.customColor,
|
||||
isSelected,
|
||||
renderContact,
|
||||
renderUniversalTimerNotification,
|
||||
i18n: getIntl(state),
|
||||
interactionMode: getInteractionMode(state),
|
||||
theme: getTheme(state),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue