mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
Allow empty groupExpirationTimerUpdate.updaterAci in backup import
This commit is contained in:
@@ -103,3 +103,21 @@ export function SetBySync(args: Props): JSX.Element {
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
export function SetByUnknownContact(args: Props): JSX.Element {
|
||||
const props: Props = {
|
||||
...args,
|
||||
disabled: false,
|
||||
expireTimer: DurationInSeconds.fromHours(1),
|
||||
type: 'fromMember',
|
||||
title: 'Unknown contact',
|
||||
};
|
||||
|
||||
return (
|
||||
<>
|
||||
<TimerNotification {...props} />
|
||||
<div style={{ padding: '1em' }} />
|
||||
<TimerNotification {...props} disabled />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user