]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix search string generation in nnimap-make-thread-query
authorLars Ingebrigtsen <larsi@gnus.org>
Sat, 6 Nov 2021 18:25:42 +0000 (19:25 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Sat, 6 Nov 2021 18:25:50 +0000 (19:25 +0100)
* lisp/gnus/nnimap.el (nnimap-make-thread-query): Remove text
properties before constructing the search string (bug#49926).

lisp/gnus/nnimap.el

index 059101c8907ecab82bbaea7a402484755e1e82dd..6b627a4b75658b4a6ccbd6c94da45120035a530b 100644 (file)
@@ -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)
                    "")))