]> git.eshelyaron.com Git - emacs.git/commitdiff
Compare addresses case-insensitively in message-update-smtp-method-header
authorFilipp Gunbin <fgunbin@fastmail.fm>
Wed, 26 Oct 2022 18:11:28 +0000 (21:11 +0300)
committerFilipp Gunbin <fgunbin@fastmail.fm>
Wed, 26 Oct 2022 18:13:16 +0000 (21:13 +0300)
* lisp/gnus/message.el (message-update-smtp-method-header): Compare
addresses case-insensitively.

lisp/gnus/message.el

index a714e318767cb200c8ae4d740433ba0b3a34b286..24cba97718a0dd6e77c2b545fbf03ad0fe0dea5f 100644 (file)
@@ -4385,7 +4385,7 @@ it is left unchanged."
                      (setq method (or (cdr server) res))
                      (throw 'exit nil))))
                 ((and (stringp (car server))
-                      (string= (car server) from))
+                      (string-equal-ignore-case (car server) from))
                  (setq method (cdr server))
                  (throw 'exit nil)))))
       (when method