diff options
author | Erik Johnston <erik@matrix.org> | 2015-10-12 10:49:53 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-10-12 10:49:53 +0100 |
commit | 61561b9df791ec90e287e535cc75831c2016bf36 (patch) | |
tree | 903d6e26bc4bc3892c59c0a38bc9e2d3eccad96e /synapse/storage/events.py | |
parent | Add basic full text search impl. (diff) | |
download | synapse-61561b9df791ec90e287e535cc75831c2016bf36.tar.xz |
Keep FTS indexes up to date. Only search through rooms currently joined
Diffstat (limited to 'synapse/storage/events.py')
-rw-r--r-- | synapse/storage/events.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py index 416ef6af93..e6c1abfc27 100644 --- a/synapse/storage/events.py +++ b/synapse/storage/events.py @@ -307,6 +307,8 @@ class EventsStore(SQLBaseStore): self._store_room_name_txn(txn, event) elif event.type == EventTypes.Topic: self._store_room_topic_txn(txn, event) + elif event.type == EventTypes.Message: + self._store_room_message_txn(txn, event) elif event.type == EventTypes.Redaction: self._store_redaction(txn, event) |