mirror of
https://github.com/sim1222/misskey.git
synced 2025-08-03 23:16:28 +09:00
Better note auto collapse algorithm
This commit is contained in:
@ -277,7 +277,7 @@ export default defineComponent({
|
||||
this.connection = os.stream;
|
||||
}
|
||||
|
||||
this.collapsed = this.appearNote.text && (
|
||||
this.collapsed = this.appearNote.cw == null && this.appearNote.text && (
|
||||
(this.appearNote.text.split('\n').length > 9) ||
|
||||
(this.appearNote.text.length > 500)
|
||||
);
|
||||
|
Reference in New Issue
Block a user