summary refs log tree commit diff
path: root/synapse/handlers/room_member_worker.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-07-09 13:01:42 +0100
committerGitHub <noreply@github.com>2020-07-09 13:01:42 +0100
commit53ee214f2f2ec3519ee37fe7cbcd0961e83678af (patch)
treecc85e8e9db9da4f357a9b2a23af9457b29f86c1b /synapse/handlers/room_member_worker.py
parentImprove stacktraces from exceptions in background processes (#7808) (diff)
downloadsynapse-53ee214f2f2ec3519ee37fe7cbcd0961e83678af.tar.xz
`update_membership` declaration: now always returns an event id. (#7809)
Diffstat (limited to 'synapse/handlers/room_member_worker.py')
-rw-r--r--synapse/handlers/room_member_worker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room_member_worker.py b/synapse/handlers/room_member_worker.py
index ac03f15166..897338fd54 100644
--- a/synapse/handlers/room_member_worker.py
+++ b/synapse/handlers/room_member_worker.py
@@ -67,7 +67,7 @@ class RoomMemberWorkerHandler(RoomMemberHandler):
         txn_id: Optional[str],
         requester: Requester,
         content: dict,
-    ) -> Tuple[Optional[str], int]:
+    ) -> Tuple[str, int]:
         """
         Rejects an out-of-band invite received from a remote user