aboutsummaryrefslogtreecommitdiffstats
path: root/worker/notmuch/lib/thread.go
diff options
context:
space:
mode:
Diffstat (limited to 'worker/notmuch/lib/thread.go')
-rw-r--r--worker/notmuch/lib/thread.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/worker/notmuch/lib/thread.go b/worker/notmuch/lib/thread.go
new file mode 100644
index 00000000..297260d8
--- /dev/null
+++ b/worker/notmuch/lib/thread.go
@@ -0,0 +1,14 @@
+//+build notmuch
+
+package lib
+
+type ThreadNode struct {
+ Uid string
+ From string
+ Subject string
+ InQuery bool // is the msg included in the query
+
+ Parent *ThreadNode
+ NextSibling *ThreadNode
+ FirstChild *ThreadNode
+}