summary refs log tree commit diff
path: root/synapse/storage/directory.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2014-11-18 15:29:48 +0000
committerMark Haines <mark.haines@matrix.org>2014-11-18 15:29:48 +0000
commitae9c2ab1652511b36dc594882e88152b6067c816 (patch)
treec2823450bf67c3199df7f3b73d1387559e042bf4 /synapse/storage/directory.py
parentSplit out sending the room alias events from creating the alias so that we ca... (diff)
downloadsynapse-ae9c2ab1652511b36dc594882e88152b6067c816.tar.xz
SYN-149: Send join event immediately after the room create event
Diffstat (limited to 'synapse/storage/directory.py')
-rw-r--r--synapse/storage/directory.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/storage/directory.py b/synapse/storage/directory.py
index f2e895a5c2..2be9c41374 100644
--- a/synapse/storage/directory.py
+++ b/synapse/storage/directory.py
@@ -14,10 +14,15 @@
 # limitations under the License.
 
 from ._base import SQLBaseStore
+
+from synapse.api.errors import SynapseError
+
 from twisted.internet import defer
 
 from collections import namedtuple
 
+import sqlite3
+
 
 RoomAliasMapping = namedtuple(
     "RoomAliasMapping",