|
|
@@ -276,10 +276,14 @@ class EventCreationHandler(object): |
|
|
|
where *hashes* is a map from algorithm to hash. |
|
|
|
|
|
|
|
If None, they will be requested from the database. |
|
|
|
|
|
|
|
Raises: |
|
|
|
ResourceLimitError if server is blocked to some resource being |
|
|
|
exceeded |
|
|
|
Returns: |
|
|
|
Tuple of created event (FrozenEvent), Context |
|
|
|
""" |
|
|
|
yield self.auth.check_auth_blocking(requester.user.to_string()) |
|
|
|
|
|
|
|
builder = self.event_builder_factory.new(event_dict) |
|
|
|
|
|
|
|
self.validator.validate_new(builder) |
|
|
|