summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2019-11-08 14:55:00 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2019-11-08 14:55:00 +0000
commitce95330771c12628db09c18f0290c8fe157d16dd (patch)
tree2f33c4cb71499fb9a6f5df0980d35aec0e746559
parentRemove content from being sent for account data rdata stream (diff)
downloadsynapse-ce95330771c12628db09c18f0290c8fe157d16dd.tar.xz
Fix unpacking
-rw-r--r--synapse/storage/data_stores/main/account_data.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/data_stores/main/account_data.py b/synapse/storage/data_stores/main/account_data.py
index 6afbfc0d74..a270bb753a 100644
--- a/synapse/storage/data_stores/main/account_data.py
+++ b/synapse/storage/data_stores/main/account_data.py
@@ -191,7 +191,7 @@ class AccountDataWorkerStore(SQLBaseStore):
 
         def get_updated_account_data_txn(txn):
             sql = (
-                "SELECT stream_id, user_id, account_data_type, content"
+                "SELECT stream_id, user_id, account_data_type"
                 " FROM account_data WHERE ? < stream_id AND stream_id <= ?"
                 " ORDER BY stream_id ASC LIMIT ?"
             )
@@ -199,7 +199,7 @@ class AccountDataWorkerStore(SQLBaseStore):
             global_results = txn.fetchall()
 
             sql = (
-                "SELECT stream_id, user_id, room_id, account_data_type, content"
+                "SELECT stream_id, user_id, room_id, account_data_type"
                 " FROM room_account_data WHERE ? < stream_id AND stream_id <= ?"
                 " ORDER BY stream_id ASC LIMIT ?"
             )