in imap4rev1 search, always send an untagged search response, also without matches

required by rfc. i noticed an example doing that in the condstore/qresync rfc.
This commit is contained in:
Mechiel Lukkien
2023-07-24 15:40:04 +02:00
parent bca33c0364
commit bc62aae0e6
2 changed files with 5 additions and 4 deletions

View File

@ -36,10 +36,6 @@ this is html.
func (tc *testconn) xsearch(nums ...uint32) {
tc.t.Helper()
if len(nums) == 0 {
tc.xnountagged()
return
}
tc.xuntagged(imapclient.UntaggedSearch(nums))
}