lernanta
lernanta copied to clipboard
Use commenter username for from address of notifications
When a user replies to a comment, the username should be used in the from address. Ex. if john replied on a message, the from address should be set as "john [email protected]"
This will require that the module sending the notification needs to include the user that causes the notification. This may require some consideration to avoid complicating the notification interface unnecessarily.
See https://github.com/p2pu/lernanta/blob/master/lernanta/apps/notifications/tasks.py#L23