This commit is contained in:
Henry Jameson 2021-06-12 19:54:03 +03:00
parent cd44556750
commit 90a188f2c3
5 changed files with 5 additions and 17 deletions

View file

@ -53,7 +53,7 @@ const StatusContent = {
// Using max-height + overflow: auto for status components resulted in false positives
// very often with japanese characters, and it was very annoying.
tallStatus () {
const lengthScore = this.status.statusnet_html.split(/<p|<br/).length + this.status.text.length / 80
const lengthScore = this.status.raw_html.split(/<p|<br/).length + this.status.text.length / 80
return lengthScore > 20
},
longSubject () {