From 1bd930f0438ebce5fd0e27aca0f5d5e1c5bcc750 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 5 Feb 2020 14:58:56 +0100 Subject: plugins/carddav: add basic contacts view --- plugins/base/imap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/base') diff --git a/plugins/base/imap.go b/plugins/base/imap.go index 1ffa774..5de5735 100755 --- a/plugins/base/imap.go +++ b/plugins/base/imap.go @@ -289,7 +289,7 @@ func searchCriteriaHeader(k, v string) *imap.SearchCriteria { } } -func searchCriteriaOr(criteria... *imap.SearchCriteria) *imap.SearchCriteria { +func searchCriteriaOr(criteria ...*imap.SearchCriteria) *imap.SearchCriteria { or := criteria[0] for _, c := range criteria[1:] { or = &imap.SearchCriteria{ -- cgit v1.2.3