mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 19:52:17 -05:00
IMAP: Send the Message-ID as quoted string in getUidFromMessageId()
This commit is contained in:
parent
8e32320f5d
commit
fbc187a3e2
@ -1913,7 +1913,7 @@ public class ImapStore extends Store {
|
|||||||
|
|
||||||
List<ImapResponse> responses =
|
List<ImapResponse> responses =
|
||||||
executeSimpleCommand(
|
executeSimpleCommand(
|
||||||
String.format("UID SEARCH HEADER MESSAGE-ID %s", messageId));
|
String.format("UID SEARCH HEADER MESSAGE-ID %s", encodeString(messageId)));
|
||||||
for (ImapResponse response1 : responses) {
|
for (ImapResponse response1 : responses) {
|
||||||
if (response1.mTag == null && ImapResponseParser.equalsIgnoreCase(response1.get(0), "SEARCH")
|
if (response1.mTag == null && ImapResponseParser.equalsIgnoreCase(response1.get(0), "SEARCH")
|
||||||
&& response1.size() > 1) {
|
&& response1.size() > 1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user