From 6243a43ac2b575435efb65d9bdbb15980ea14d78 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 6 Nov 2021 19:25:42 +0100 Subject: [PATCH] Fix search string generation in nnimap-make-thread-query * lisp/gnus/nnimap.el (nnimap-make-thread-query): Remove text properties before constructing the search string (bug#49926). --- lisp/gnus/nnimap.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index 059101c8907..6b627a4b756 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el @@ -2287,7 +2287,7 @@ Return the server's response to the SELECT or EXAMINE command." nnimap-incoming-split-list))) (defun nnimap-make-thread-query (header) - (let* ((id (mail-header-id header)) + (let* ((id (substring-no-properties (mail-header-id header))) (refs (split-string (or (mail-header-references header) ""))) -- 2.39.2