summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-08-18 09:53:13 -0400
committerGitHub <noreply@github.com>2020-08-18 09:53:13 -0400
commit3c01724b330ac99d6defb12634ea9046ae52fe63 (patch)
tree61537989c445f6aee168eb266302fa9fd3bccaed /synapse/handlers
parentRemove : from allowed client_secret chars (#8101) (diff)
downloadsynapse-3c01724b330ac99d6defb12634ea9046ae52fe63.tar.xz
Fix the return type of send_nonmember_events. (#8112)
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/message.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py
index f242d3c6ac..532fc30681 100644
--- a/synapse/handlers/message.py
+++ b/synapse/handlers/message.py
@@ -674,7 +674,7 @@ class EventCreationHandler(object):
                     event.event_id,
                     prev_event.event_id,
                 )
-                return await self.store.get_stream_token_for_event(prev_event.event_id)
+                return await self.store.get_stream_id_for_event(prev_event.event_id)
 
         return await self.handle_new_client_event(
             requester=requester, event=event, context=context, ratelimit=ratelimit