From: Lars Ingebrigtsen Date: Sat, 6 Nov 2021 18:25:42 +0000 (+0100) Subject: Fix search string generation in nnimap-make-thread-query X-Git-Tag: emacs-28.0.90~110 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6243a43ac2;p=emacs.git 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). --- 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) "")))