aboutsummaryrefslogtreecommitdiffstats
path: root/worker/jmap/cache/state.go
diff options
context:
space:
mode:
Diffstat (limited to 'worker/jmap/cache/state.go')
-rw-r--r--worker/jmap/cache/state.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/worker/jmap/cache/state.go b/worker/jmap/cache/state.go
index 6538ccad..5fec5034 100644
--- a/worker/jmap/cache/state.go
+++ b/worker/jmap/cache/state.go
@@ -12,18 +12,6 @@ func (c *JMAPCache) PutMailboxState(state string) error {
return c.put(mailboxStateKey, []byte(state))
}
-func (c *JMAPCache) GetThreadState() (string, error) {
- buf, err := c.get(threadStateKey)
- if err != nil {
- return "", err
- }
- return string(buf), nil
-}
-
-func (c *JMAPCache) PutThreadState(state string) error {
- return c.put(threadStateKey, []byte(state))
-}
-
func (c *JMAPCache) GetEmailState() (string, error) {
buf, err := c.get(emailStateKey)
if err != nil {
@@ -39,5 +27,4 @@ func (c *JMAPCache) PutEmailState(state string) error {
const (
mailboxStateKey = "state/mailbox"
emailStateKey = "state/email"
- threadStateKey = "state/thread"
)