aboutsummaryrefslogtreecommitdiff
path: root/gomuks.go
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2018-03-18 17:34:42 +0200
committerTulir Asokan <tulir@maunium.net>2018-03-18 17:34:51 +0200
commit0509b195625c959a7b5556e3baae4f869c4d62f6 (patch)
tree0e78c3902d74b0fba52bf67f18bf97e0284df94f /gomuks.go
parentb536064882a4a436781a6c34122f8c919729a19c (diff)
Move syncer/room store changes from gomatrix fork to here, refactor and improve stuff
Diffstat (limited to 'gomuks.go')
-rw-r--r--gomuks.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/gomuks.go b/gomuks.go
index 237d3e9..5fa0a8a 100644
--- a/gomuks.go
+++ b/gomuks.go
@@ -126,5 +126,6 @@ func (gmx *gomuks) UI() *GomuksUI {
}
func main() {
- NewGomuks(true).Start()
+ debug := os.Getenv("DEBUG")
+ NewGomuks(len(debug) > 0).Start()
}