summaryrefslogtreecommitdiff
path: root/models
diff options
context:
space:
mode:
Diffstat (limited to 'models')
-rw-r--r--models/models.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/models/models.go b/models/models.go
index 96683f2..e7325d2 100644
--- a/models/models.go
+++ b/models/models.go
@@ -51,6 +51,15 @@ type DirectoryInfo struct {
// set to true if the value counts are accurate
AccurateCounts bool
+
+ // Caps contains the backend capabilities
+ Caps *Capabilities
+}
+
+// Capabilities provides the backend capabilities
+type Capabilities struct {
+ Sort bool
+ Thread bool
}
// A MessageInfo holds information about the structure of a message