mattia / pagure

Forked from pagure 2 years ago
Clone

3ff5842 Ensure @<username> doesn't over-reach when sending notifications

Authored and Committed by pingou 3 years ago
    Ensure @<username> doesn't over-reach when sending notifications
    
    If someone comments in a ticket or a PR with a text that contains an
    email address, for example: foo@bar.com and the domain corresponds to an
    existing username, we do not want to notify that user.
    (Imagine if an `gmail` user gets created! :D)
    
    Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
    
        
file modified
+2 -2
file modified
+1 -1