Allow empty groupExpirationTimerUpdate.updaterAci in backup import
This commit is contained in:
parent
7faae3ab71
commit
757b237186
3 changed files with 37 additions and 11 deletions
|
@ -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 />
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue