Fix issue with hydroxide and K-9 Mail

This commit is contained in:
Julian Fairfax 2022-03-16 14:30:44 +01:00 committed by Henrik Grimler
parent 06ce8bbf6c
commit 205da10123
No known key found for this signature in database
GPG Key ID: B0076E490B71616B
2 changed files with 16 additions and 0 deletions

View File

@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="A third-party, open-source ProtonMail CardDAV, IMAP and
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=0.2.21
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://github.com/emersion/hydroxide/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=efbb1fc0461b3fcca9a9e42b31c7298ef0023e458c171be0b00886f9692648c4
TERMUX_PKG_AUTO_UPDATE=true

View File

@ -0,0 +1,15 @@
--- a/imap/mailbox.go
+++ b/imap/mailbox.go
@@ -308,9 +308,9 @@
}
// TODO: c.Not, c.Or
- if c.Not != nil || c.Or != nil {
- return nil, errors.New("search queries with NOT or OR clauses are not yet implemented")
- }
+ // if c.Not != nil || c.Or != nil {
+ // return nil, errors.New("search queries with NOT or OR clauses are not yet implemented")
+ // }
var results []uint32
err := mbox.db.ForEach(func(seqNum, uid uint32, apiID string) error {