summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--worker/maildir/worker.go2
-rw-r--r--worker/notmuch/worker.go8
2 files changed, 3 insertions, 7 deletions
diff --git a/worker/maildir/worker.go b/worker/maildir/worker.go
index 4a7ae51..87ebc97 100644
--- a/worker/maildir/worker.go
+++ b/worker/maildir/worker.go
@@ -299,12 +299,10 @@ func (w *Worker) handleOpenDirectory(msg *types.OpenDirectory) error {
 		return fmt.Errorf("could not clean directory: %v", err)
 	}
 
-	// TODO: why does this need to be sent twice??
 	info := &types.DirectoryInfo{
 		Info: w.getDirectoryInfo(msg.Directory),
 	}
 	w.worker.PostMessage(info, nil)
-	w.worker.PostMessage(info, nil)
 	return nil
 }
 
diff --git a/worker/notmuch/worker.go b/worker/notmuch/worker.go
index 6281744..637bb4d 100644
--- a/worker/notmuch/worker.go
+++ b/worker/notmuch/worker.go
@@ -251,8 +251,6 @@ func (w *worker) handleOpenDirectory(msg *types.OpenDirectory) error {
 		return err
 	}
 	info.Message = types.RespondTo(msg)
-	//TODO: why does this need to be sent twice??
-	w.w.PostMessage(info, nil)
 	w.w.PostMessage(info, nil)
 	w.done(msg)
 	return nil
@@ -507,9 +505,9 @@ func (w *worker) loadExcludeTags(
 		return nil
 	}
 	excludedTags := strings.Split(raw, ",")
-    for idx, tag := range excludedTags {
-        excludedTags[idx] = strings.Trim(tag, " ")
-    }
+	for idx, tag := range excludedTags {
+		excludedTags[idx] = strings.Trim(tag, " ")
+	}
 	return excludedTags
 }
 
de> 2006-07-10 16:38:18 +0200 committer Anselm R. Garbe <garbeam@wmii.de> 2006-07-10 16:38:18 +0200 initial import' href='/acidbong/suckless/dwm/commit/README?h=5.8.1&id=1076f2b6b3d3751d5d5db6fcb9ac8c247e04e893'>1076f2b
60adbab ^


1076f2b
650a1fb ^
01a8d44 ^
650a1fb ^
1076f2b
650a1fb ^
1076f2b
650a1fb ^
1076f2b

650a1fb ^
1076f2b
eff4478 ^
1076f2b
7b5638f ^

98c6a92 ^
98c6a92 ^

02cea3b ^
7b5638f ^
2b66f7a ^
98c6a92 ^
7b5638f ^
1076f2b

dc5c070 ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51