Keep FTS indexes up to date. Only search through rooms currently joined

This commit is contained in:
Erik Johnston 2015-10-12 10:49:53 +01:00
parent c85c912562
commit 61561b9df7
6 changed files with 55 additions and 12 deletions

View file

@ -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)