And STATUS SIZE is part of RFC 8438, not RFC 9051
This commit is contained in:
the-djmaze 2023-11-14 16:49:38 +01:00
parent 9bdd7d5564
commit 13c23141ee
12 changed files with 34 additions and 9 deletions

View file

@ -25,6 +25,8 @@ import { /*koComputable,*/ addObservablesTo } from 'External/ko';
import Remote from 'Remote/User/Fetch';
import { FileInfo } from 'Common/File';
const
// isPosNumeric = value => null != value && /^[0-9]*$/.test(value.toString()),
@ -304,6 +306,7 @@ export class FolderModel extends AbstractModel {
this.etag = '';
this.id = 0;
this.uidNext = 0;
this.size = 0;
addObservablesTo(this, {
name: '',
@ -456,6 +459,8 @@ export class FolderModel extends AbstractModel {
return '';
},
friendlySize: () => FileInfo.friendlySize(this.size),
detailedName: () => this.name() + ' ' + this.nameInfo(),
hasSubscribedUnreadMessagesSubfolders: () =>