mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-17 23:42:33 +01:00
Correctly set context.app_service
This commit is contained in:
parent
fb99dae9c8
commit
5891a6edc8
1 changed files with 2 additions and 0 deletions
|
@ -553,6 +553,8 @@ class EventCreationHandler(object):
|
||||||
prev_event_ids=[p for p, _ in prev_events],
|
prev_event_ids=[p for p, _ in prev_events],
|
||||||
)
|
)
|
||||||
context = yield self.state.compute_event_context(event)
|
context = yield self.state.compute_event_context(event)
|
||||||
|
if requester:
|
||||||
|
context.app_service = requester.app_service
|
||||||
|
|
||||||
self.validator.validate_new(event)
|
self.validator.validate_new(event)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue