mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-17 14:54:21 -05:00
Generalize email sending logging (#6075)
In ancient times Synapse would only send emails when it was notifying a user about a message they received... Now it can do all sorts of neat things! Change the logging so it's not just about notifications.
This commit is contained in:
parent
885a4726b7
commit
1c9feadf4b
1
changelog.d/6075.misc
Normal file
1
changelog.d/6075.misc
Normal file
@ -0,0 +1 @@
|
||||
Change mailer logging to reflect Synapse doesn't just do chat notifications by email now.
|
@ -311,7 +311,7 @@ class Mailer(object):
|
||||
multipart_msg.attach(text_part)
|
||||
multipart_msg.attach(html_part)
|
||||
|
||||
logger.info("Sending email notification to %s" % email_address)
|
||||
logger.info("Sending email to %s" % email_address)
|
||||
|
||||
yield make_deferred_yieldable(
|
||||
self.sendmail(
|
||||
|
Loading…
Reference in New Issue
Block a user