diff options
author | Sean Quah <8349537+squahtx@users.noreply.github.com> | 2021-12-08 10:47:09 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-08 10:47:09 +0000 |
commit | 2e2f5c043e08da517d2673f87ba22597d5599268 (patch) | |
tree | 74df92690df6785819125886a2be6d42b4bb1098 /synapse/push/httppusher.py | |
parent | Merge branch 'develop' into squah/leave_space_admin_api (diff) | |
parent | Send and handle cross-signing messages using the stable prefix. (#10520) (diff) | |
download | synapse-github/squah/leave_space_admin_api.tar.xz |
Merge branch 'develop' into squah/leave_space_admin_api github/squah/leave_space_admin_api squah/leave_space_admin_api
Diffstat (limited to 'synapse/push/httppusher.py')
-rw-r--r-- | synapse/push/httppusher.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/push/httppusher.py b/synapse/push/httppusher.py index dbf4ad7f97..3fa603ccb7 100644 --- a/synapse/push/httppusher.py +++ b/synapse/push/httppusher.py @@ -26,6 +26,7 @@ from synapse.events import EventBase from synapse.logging import opentracing from synapse.metrics.background_process_metrics import run_as_background_process from synapse.push import Pusher, PusherConfig, PusherConfigException +from synapse.storage.databases.main.event_push_actions import HttpPushAction from . import push_rule_evaluator, push_tools @@ -273,7 +274,7 @@ class HttpPusher(Pusher): ) break - async def _process_one(self, push_action: dict) -> bool: + async def _process_one(self, push_action: HttpPushAction) -> bool: if "notify" not in push_action["actions"]: return True |