mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-01 04:56:01 -04:00
Add room_version param to get_pdu
When we add new event format we'll need to know the event format or room version when parsing events.
This commit is contained in:
parent
6b90ae6efc
commit
6a41d2a187
4 changed files with 60 additions and 13 deletions
|
@ -457,8 +457,10 @@ class FederationServer(FederationBase):
|
|||
for e in content["auth_chain"]
|
||||
]
|
||||
|
||||
room_version = yield self.store.get_room_version(room_id)
|
||||
|
||||
signed_auth = yield self._check_sigs_and_hash_and_fetch(
|
||||
origin, auth_chain, outlier=True
|
||||
origin, auth_chain, outlier=True, room_version=room_version,
|
||||
)
|
||||
|
||||
ret = yield self.handler.on_query_auth(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue