Fix delivery status overflow in sticker messages

This commit is contained in:
Fedor Indutny 2021-03-29 14:34:47 -07:00 committed by GitHub
parent f157ce2eec
commit 79acb7513d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View file

@ -101,6 +101,9 @@ const createProps = (overrideProps: Partial<Props> = {}): Props => ({
i18n,
id: text('id', overrideProps.id || ''),
interactionMode: overrideProps.interactionMode || 'keyboard',
isSticker: isBoolean(overrideProps.isSticker)
? overrideProps.isSticker
: false,
isBlocked: isBoolean(overrideProps.isBlocked)
? overrideProps.isBlocked
: false,