From f20f5b44f4db22cf57bc15c1bc210bfdeedbc511 Mon Sep 17 00:00:00 2001 From: nick evans Date: Sun, 6 Oct 2024 15:36:14 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A7=20TODO:=20handle=20ESEARCH=20respo?= =?UTF-8?q?nse=20to=20sort=20(ESORT=20extension)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/net/imap.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/net/imap.rb b/lib/net/imap.rb index e9503467..415e8926 100644 --- a/lib/net/imap.rb +++ b/lib/net/imap.rb @@ -3028,6 +3028,7 @@ def copy_internal(cmd, set, mailbox) def sort_internal(cmd, sort_keys, search_keys, charset) search_keys = normalize_searching_criteria(search_keys) synchronize do + # TODO: handle ESEARCH response (for ESORT extension) send_command(cmd, sort_keys, charset, *search_keys) clear_responses("SORT").last || [] end