Update type of EventContext.rejected (#13460)

This commit is contained in:
Richard van der Hoff 2022-08-04 17:45:01 +01:00 committed by GitHub
parent e9e6aacfbe
commit 96d92156d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -1490,7 +1490,7 @@ class PersistEventsStore:
event.sender,
"url" in event.content and isinstance(event.content["url"], str),
event.get_state_key(),
context.rejected or None,
context.rejected,
)
for event, context in events_and_contexts
),