-
- Downloads
Make AppserviceHandler stream events from database
This is for two reasons: 1. Suppresses duplicates correctly, as the notifier doesn't do any duplicate suppression. 2. Makes it easier to connect the AppserviceHandler to the replication stream.
Showing
- synapse/handlers/appservice.py 44 additions, 21 deletionssynapse/handlers/appservice.py
- synapse/notifier.py 1 addition, 1 deletionsynapse/notifier.py
- synapse/storage/appservice.py 39 additions, 0 deletionssynapse/storage/appservice.py
- synapse/storage/schema/delta/34/appservice_stream.sql 23 additions, 0 deletionssynapse/storage/schema/delta/34/appservice_stream.sql
- tests/handlers/test_appservice.py 6 additions, 3 deletionstests/handlers/test_appservice.py
Please register or sign in to comment