cmd/notifications.go
changeset 30 14561d44211b
parent 22 5778b09bc6fe
child 44 6da40ca4534c
--- a/cmd/notifications.go	Sat Apr 29 17:20:19 2017 +0200
+++ b/cmd/notifications.go	Sat Apr 29 17:32:37 2017 +0200
@@ -52,8 +52,9 @@
 	}
 
 	var limOpts *madon.LimitParams
-	if accountsOpts.limit > 0 || accountsOpts.sinceID > 0 || accountsOpts.maxID > 0 {
+	if accountsOpts.all || accountsOpts.limit > 0 || accountsOpts.sinceID > 0 || accountsOpts.maxID > 0 {
 		limOpts = new(madon.LimitParams)
+		limOpts.All = accountsOpts.all
 	}
 
 	if accountsOpts.limit > 0 {