Use DurationInSeconds for expireTimer

This commit is contained in:
Fedor Indutny
2022-11-16 12:18:02 -08:00
committed by GitHub
parent cf57c7aaf0
commit 6be69a7ba8
59 changed files with 411 additions and 216 deletions

View File

@@ -5,13 +5,14 @@ import { assert } from 'chai';
import * as sinon from 'sinon';
import { RowType } from '../../../components/ConversationList';
import { getDefaultConversation } from '../../../test-both/helpers/getDefaultConversation';
import { DurationInSeconds } from '../../../util/durations';
import { LeftPaneSetGroupMetadataHelper } from '../../../components/leftPane/LeftPaneSetGroupMetadataHelper';
function getComposeState() {
return {
groupAvatar: undefined,
groupExpireTimer: 0,
groupExpireTimer: DurationInSeconds.ZERO,
groupName: '',
hasError: false,
isCreating: false,