Fix issue with hydroxide and K-9 Mail
This commit is contained in:
parent
06ce8bbf6c
commit
205da10123
@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="A third-party, open-source ProtonMail CardDAV, IMAP and
|
|||||||
TERMUX_PKG_LICENSE="MIT"
|
TERMUX_PKG_LICENSE="MIT"
|
||||||
TERMUX_PKG_MAINTAINER="@termux"
|
TERMUX_PKG_MAINTAINER="@termux"
|
||||||
TERMUX_PKG_VERSION=0.2.21
|
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_SRCURL=https://github.com/emersion/hydroxide/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
||||||
TERMUX_PKG_SHA256=efbb1fc0461b3fcca9a9e42b31c7298ef0023e458c171be0b00886f9692648c4
|
TERMUX_PKG_SHA256=efbb1fc0461b3fcca9a9e42b31c7298ef0023e458c171be0b00886f9692648c4
|
||||||
TERMUX_PKG_AUTO_UPDATE=true
|
TERMUX_PKG_AUTO_UPDATE=true
|
||||||
|
15
packages/hydroxide/mailbox.go.patch
Normal file
15
packages/hydroxide/mailbox.go.patch
Normal 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 {
|
Loading…
Reference in New Issue
Block a user