about summary refs log tree commit diff stats
path: root/lib/msgstore.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-03-15 21:43:33 -0400
committerDrew DeVault <sir@cmpwn.com>2019-03-15 21:43:33 -0400
commit01ae0cef601007bb7ad2da72621a440d35df30ec (patch)
treea5556c694dc8f0f026e6368938c97b33dfd3e948 /lib/msgstore.go
parente780c6ee96ae086fc668aadcd61fb1777d1cbe43 (diff)
downloadaerc-01ae0cef601007bb7ad2da72621a440d35df30ec.tar.gz
Add TODO to msgstore.go
Diffstat (limited to 'lib/msgstore.go')
-rw-r--r--lib/msgstore.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/msgstore.go b/lib/msgstore.go
index 79e1977..d745093 100644
--- a/lib/msgstore.go
+++ b/lib/msgstore.go
@@ -12,7 +12,7 @@ type MessageStore struct {
 	// Ordered list of known UIDs
 	Uids []uint32
 	// Map of uids we've asked the worker to fetch
-	onUpdate       func(store *MessageStore)
+	onUpdate       func(store *MessageStore) // TODO: multiple onUpdate handlers
 	pendingBodies  map[uint32]interface{}
 	pendingHeaders map[uint32]interface{}
 	worker         *types.Worker