fix: files show creation date instead of modification date #700
This commit is contained in:
+1
-1
@@ -5534,7 +5534,7 @@ export class JMAPClient implements IJMAPClient {
|
||||
}
|
||||
|
||||
private static FILE_NODE_PROPERTIES = [
|
||||
"id", "parentId", "name", "type", "blobId", "size", "created", "updated",
|
||||
"id", "parentId", "name", "type", "blobId", "size", "created", "modified",
|
||||
// Stalwart omits shareWith/myRights from FileNode/get unless requested
|
||||
// explicitly, so the share dialog and indicators can't see existing
|
||||
// shares without naming them here (same as CALENDAR_PROPERTIES).
|
||||
|
||||
+5
-1
@@ -835,7 +835,11 @@ export interface FileNode {
|
||||
blobId: string | null;
|
||||
size: number;
|
||||
created: string;
|
||||
updated: string;
|
||||
// Last content/metadata change, server-maintained. The property is named
|
||||
// `modified` in draft-ietf-jmap-filenode and in Stalwart - there is no
|
||||
// `updated` on a FileNode. Asking for the wrong name silently yields
|
||||
// undefined, which made the UI show the creation date forever (#700).
|
||||
modified: string;
|
||||
// JMAP Sharing (RFC 9670). Populated only when the server advertises the
|
||||
// filenode capability and the properties are explicitly requested. A node is
|
||||
// shared-out when `shareWith` has entries; `myRights` describes what the
|
||||
|
||||
Reference in New Issue
Block a user