Allow empty groupExpirationTimerUpdate.updaterAci in backup import

This commit is contained in:
trevor-signal
2024-11-18 13:01:09 -05:00
committed by GitHub
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 />
</>
);
}