summary refs log tree commit diff
path: root/synapse/api/constants.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-02-16 14:27:40 +0000
committerErik Johnston <erik@matrix.org>2015-02-16 14:27:40 +0000
commit91fc5eef1deb2f756d16f3d5ea20ede8d967f6df (patch)
treeba36c3a6c0dcfae853b01051f296ec2d5fd562f1 /synapse/api/constants.py
parentDon't return anything from _handle_new_pdu, since we ignore the return value ... (diff)
downloadsynapse-91fc5eef1deb2f756d16f3d5ea20ede8d967f6df.tar.xz
Mark old events as outliers.
This is to fix the issue where if a remote server sends an event
that references a really "old" event, then the local server will pull
that in and send to all clients.

We decide if an event is old if its depth is less than the minimum depth
of the room.
Diffstat (limited to 'synapse/api/constants.py')
0 files changed, 0 insertions, 0 deletions