aboutsummaryrefslogtreecommitdiff
path: root/plugins/base
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-02-05 14:58:56 +0100
committerSimon Ser <contact@emersion.fr>2020-02-05 14:58:56 +0100
commit1bd930f0438ebce5fd0e27aca0f5d5e1c5bcc750 (patch)
tree2ed420695bf816e34adf38c02d06998a154be918 /plugins/base
parent3263a89185e27031dbde7007eb4b71db4cd3c54f (diff)
downloadalps-1bd930f0438ebce5fd0e27aca0f5d5e1c5bcc750.tar.gz
alps-1bd930f0438ebce5fd0e27aca0f5d5e1c5bcc750.zip
plugins/carddav: add basic contacts view
Diffstat (limited to 'plugins/base')
-rwxr-xr-xplugins/base/imap.go2
1 files changed, 1 insertions, 1 deletions
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{