aboutsummaryrefslogtreecommitdiffstats
path: root/worker/jmap/cache/mailbox.go
diff options
context:
space:
mode:
authorTim Culverhouse <tim@timculverhouse.com>2023-08-30 16:17:58 -0500
committerRobin Jarry <robin@jarry.cc>2023-08-31 17:36:26 +0200
commit965d38097cbc4d429496622670f23c492324aaf2 (patch)
tree0ed50188538093332e2b85abb56dee065ae35a21 /worker/jmap/cache/mailbox.go
parent2ee7c7f00e0d9895681b6a523e6f92eb93122095 (diff)
downloadaerc-965d38097cbc4d429496622670f23c492324aaf2.tar.gz
notmuch: refactor SetFlag
Refactor SetFlag to be more readable by handling the special case of SeenFlag in a cleaner way. If we invert the operation ('enable') instead of invert the oldState, we can use the same logic for any tag. Signed-off-by: Tim Culverhouse <tim@timculverhouse.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'worker/jmap/cache/mailbox.go')
0 files changed, 0 insertions, 0 deletions