Skip to content
Snippets Groups Projects
Unverified Commit cef0d5d9 authored by Vaishnav Nair's avatar Vaishnav Nair Committed by GitHub
Browse files

Include `prev_content` field in AS events (#11798)


* Include 'prev_content' field in AS events

Signed-off-by: default avatarVaishnav Nair <nairvaishnav007@icloud.com>
Co-authored-by: default avatarBrendan Abolivier <babolivier@matrix.org>
parent 2d3bd9aa
Branches
Tags
No related merge requests found
Include a `prev_content` field in state events sent to Application Services. Contributed by @totallynotvaishnav.
\ No newline at end of file
...@@ -384,7 +384,7 @@ class ApplicationServiceTransactionWorkerStore( ...@@ -384,7 +384,7 @@ class ApplicationServiceTransactionWorkerStore(
"get_new_events_for_appservice", get_new_events_for_appservice_txn "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 return upper_bound, events
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment