From a0dfa69ffc2474fcd433597b23c74a98ec45840a Mon Sep 17 00:00:00 2001 From: Mathieu Velten Date: Tue, 22 Nov 2022 14:44:09 +0100 Subject: Add type ignore unused-awaitable to run_as_background_process calls --- synapse/handlers/presence.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'synapse/handlers/presence.py') diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py index cf08737d11..2d1d3f3705 100644 --- a/synapse/handlers/presence.py +++ b/synapse/handlers/presence.py @@ -1333,7 +1333,7 @@ class PresenceHandler(BasePresenceHandler): finally: self._event_processing = False - run_as_background_process("presence.notify_new_event", _process_presence) + run_as_background_process("presence.notify_new_event", _process_presence) # type: ignore[unused-awaitable] async def _unsafe_process(self) -> None: # Loop round handling deltas until we're up to date -- cgit 1.5.1