Mu4e: make "gmail in email adr" condition stricter

This commit is contained in:
TEC 2020-10-13 16:30:54 +08:00
parent 362f682f1d
commit b609b82d95
No known key found for this signature in database
GPG key ID: 779591AFDB81F06C

View file

@ -366,7 +366,7 @@ Must be set before org-msg is loaded to take effect.")
(defun +mu4e-msg-gmail-p (msg)
(or
(string-match-p "gmail"
(string-match-p "@gmail.com"
(cond
((member (mu4e-message-field msg :to)
(plist-get mu4e~server-props :personal-addresses))