matrix-org / synapse

Synapse: Matrix homeserver written in Python/Twisted.
https://matrix-org.github.io/synapse
Apache License 2.0
11.78k stars 2.13k forks source link

Improve email notification context for threads #11976

Open clokep opened 2 years ago

clokep commented 2 years ago

When generating email notifications Synapse fetches the event before and after the event which caused the notification to include context in the email.

Unfortunately this won't work well for threads where the "event" before and after aren't necessarily linear with what the person was replying to. We should fetch the event before and after that are in the same thread.

daniellekirkwood commented 2 years ago

Is this just for Email notifications?

clokep commented 2 years ago

Is this just for Email notifications?

Yes! I've updated the title!