summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew <matthew@matrix.org>2017-01-06 23:22:44 +0000
committerMatthew <matthew@matrix.org>2017-01-06 23:23:37 +0000
commitb2850e62db376ea920fed9dff65a47c15cb0dc68 (patch)
tree99a3bb85ab00773ad2358708779cfb87e7629886
parentBump version and changelog (diff)
downloadsynapse-b2850e62db376ea920fed9dff65a47c15cb0dc68.tar.xz
fix typo breaking the fix to #1753
-rw-r--r--synapse/events/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/events/__init__.py b/synapse/events/__init__.py
index 8c71aeb5e4..da9f3ad436 100644
--- a/synapse/events/__init__.py
+++ b/synapse/events/__init__.py
@@ -43,7 +43,7 @@ class _EventInternalMetadata(object):
 
         returns a str with the name of the server this event is sent on behalf of.
         """
-        return getattr(self, "get_send_on_behalf_of", None)
+        return getattr(self, "send_on_behalf_of", None)
 
 
 def _event_dict_property(key):