Don't show inline translation if has card
This commit is contained in:
parent
075c729807
commit
ac9962b051
|
@ -260,6 +260,7 @@ function Status({
|
||||||
!previewMode &&
|
!previewMode &&
|
||||||
!spoilerText &&
|
!spoilerText &&
|
||||||
!poll &&
|
!poll &&
|
||||||
|
!card &&
|
||||||
!mediaAttachments?.length &&
|
!mediaAttachments?.length &&
|
||||||
contentLength > 0 &&
|
contentLength > 0 &&
|
||||||
contentLength <= INLINE_TRANSLATE_LIMIT
|
contentLength <= INLINE_TRANSLATE_LIMIT
|
||||||
|
@ -271,6 +272,7 @@ function Status({
|
||||||
previewMode,
|
previewMode,
|
||||||
spoilerText,
|
spoilerText,
|
||||||
poll,
|
poll,
|
||||||
|
card,
|
||||||
mediaAttachments,
|
mediaAttachments,
|
||||||
content,
|
content,
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in a new issue