diff options
author | Erik Johnston <erik@matrix.org> | 2015-01-30 15:16:38 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-01-30 15:16:38 +0000 |
commit | 1bd540ef7943c08e350ba24c407f152016fa6064 (patch) | |
tree | 47f2f0cbc07a943fbdd8d154b6d88ace246e4787 /synapse/storage/_base.py | |
parent | Merge branch 'replication_split' of github.com:matrix-org/synapse into reject... (diff) | |
parent | Merge pull request #42 from matrix-org/replication_split (diff) | |
download | synapse-1bd540ef7943c08e350ba24c407f152016fa6064.tar.xz |
Merge branch 'develop' of github.com:matrix-org/synapse into rejections
Conflicts: synapse/storage/schema/im.sql
Diffstat (limited to 'synapse/storage/_base.py')
-rw-r--r-- | synapse/storage/_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py index 1f5e74a16a..b350fd61f1 100644 --- a/synapse/storage/_base.py +++ b/synapse/storage/_base.py @@ -504,7 +504,7 @@ class SQLBaseStore(object): def _get_event_txn(self, txn, event_id, check_redacted=True, get_prev_content=False, allow_rejected=False): sql = ( - "SELECT internal_metadata, json, r.event_id, reason " + "SELECT e.internal_metadata, e.json, r.event_id, rej.reason " "FROM event_json as e " "LEFT JOIN redactions as r ON e.event_id = r.redacts " "LEFT JOIN rejections as rej on rej.event_id = e.event_id " |