diff options
author | Vaishnav Nair <64798176+totallynotvaishnav@users.noreply.github.com> | 2022-01-26 20:18:27 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-26 14:48:27 +0000 |
commit | cef0d5d90a4782096c03ec79f825d114b8d61b6e (patch) | |
tree | d3aa800abab14dddd8e5e9dc7b7c832c353c674a /synapse | |
parent | Add a module callback to set username at registration (#11790) (diff) | |
download | synapse-cef0d5d90a4782096c03ec79f825d114b8d61b6e.tar.xz |
Include `prev_content` field in AS events (#11798)
* Include 'prev_content' field in AS events Signed-off-by: Vaishnav Nair <nairvaishnav007@icloud.com> Co-authored-by: Brendan Abolivier <babolivier@matrix.org>
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/storage/databases/main/appservice.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/appservice.py b/synapse/storage/databases/main/appservice.py index 92c95a41d7..2bb5288431 100644 --- a/synapse/storage/databases/main/appservice.py +++ b/synapse/storage/databases/main/appservice.py @@ -384,7 +384,7 @@ class ApplicationServiceTransactionWorkerStore( "get_new_events_for_appservice", get_new_events_for_appservice_txn ) - events = await self.get_events_as_list(event_ids) + events = await self.get_events_as_list(event_ids, get_prev_content=True) return upper_bound, events |