Fix modifying events in ThirdPartyRules modules (#8564)

EventBuilder.build wants auth events these days
This commit is contained in:
Richard van der Hoff 2020-10-16 13:39:46 +01:00 committed by GitHub
parent 5649669c3c
commit da0090fdff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View file

@ -98,7 +98,7 @@ class EventBuilder:
return self._state_key is not None
async def build(
self, prev_event_ids: List[str], auth_event_ids: Optional[List[str]]
self, prev_event_ids: List[str], auth_event_ids: Optional[List[str]],
) -> EventBase:
"""Transform into a fully signed and hashed event