Add a room visibility stream

This commit is contained in:
Erik Johnston 2016-09-14 17:01:02 +01:00
parent ed992ae6ba
commit baffe96d95
4 changed files with 100 additions and 16 deletions

View file

@ -366,7 +366,7 @@ class EventFederationStore(SQLBaseStore):
""")
def get_forward_extremeties_for_room_txn(txn):
txn.execute(sql, (room_id, stream_ordering,))
txn.execute(sql, (stream_ordering, room_id))
rows = txn.fetchall()
return [event_id for event_id, in rows]