aboutsummaryrefslogtreecommitdiffstats
path: root/aerc.go
diff options
context:
space:
mode:
Diffstat (limited to 'aerc.go')
-rw-r--r--aerc.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/aerc.go b/aerc.go
index 865f0669..4c9debff 100644
--- a/aerc.go
+++ b/aerc.go
@@ -2,6 +2,7 @@ package main
import (
"bytes"
+ "encoding/base64"
"errors"
"fmt"
"os"
@@ -95,7 +96,8 @@ var Flags string
func buildInfo() string {
info := Version
- if strings.Contains(Flags, "notmuch") {
+ flags, _ := base64.StdEncoding.DecodeString(Flags)
+ if strings.Contains(string(flags), "notmuch") {
info += " +notmuch"
}
info += fmt.Sprintf(" (%s %s %s)",