diff --git a/synapse/storage/databases/main/futures.py b/synapse/storage/databases/main/futures.py index 87ee15a2ef6..c6956e5f3c7 100644 --- a/synapse/storage/databases/main/futures.py +++ b/synapse/storage/databases/main/futures.py @@ -320,8 +320,8 @@ async def get_all_futures_for_user( ) return [ { - "group_id": str(row[0]), - **({"timeout": int(row[1])} if row[1] is not None else {}), + "future_group_id": str(row[0]), + **({"future_timeout": int(row[1])} if row[1] is not None else {}), "room_id": str(row[2]), "type": str(row[3]), **({"state_key": str(row[4])} if row[4] is not None else {}),