feat: Allow sending dummy events to clients

This commit is contained in:
Jade Ellis committed 2026-06-28 03:44:23 +01:00
1 parent b6bc7dfc16
commit 5199cde870
6 files changed
+36 -14

No files matched your search

+3 -1
View File
@@ -291,7 +291,9 @@ where
{
// exclude Synapse's dummy events from bloating up response bodies. clients
// don't need to see this.
if event.kind().to_string() == "org.matrix.dummy_event" {
if !services.config.send_dummy_events_to_clients
&& event.kind().to_string() == "org.matrix.dummy_event"
{
return Ok(true);
}