fix shouldTrimStatus and add tests (#1404)
This commit is contained in:
parent
feaea70af4
commit
f975522e63
7 changed files with 96 additions and 41 deletions
|
@ -176,7 +176,7 @@ fun Status.toEntity() =
|
|||
spoilerText, attachments, mentions,
|
||||
false,
|
||||
false,
|
||||
!shouldTrimStatus(content),
|
||||
shouldTrimStatus(content),
|
||||
true,
|
||||
poll
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue