summary refs log tree commit diff
path: root/tests/handlers
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-12-10 18:00:57 +0000
committerErik Johnston <erik@matrix.org>2014-12-10 18:00:57 +0000
commit4d6af0dde3c8489928312060b7d2c69181a8dc41 (patch)
treef7f9e50810988f1342a1d120b465a538617facc9 /tests/handlers
parent.from_string() no longer takes a HS (diff)
downloadsynapse-4d6af0dde3c8489928312060b7d2c69181a8dc41.tar.xz
Fix some tests
Diffstat (limited to 'tests/handlers')
-rw-r--r--tests/handlers/test_typing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/handlers/test_typing.py b/tests/handlers/test_typing.py
index 7e6ed9a42f..af466c474f 100644
--- a/tests/handlers/test_typing.py
+++ b/tests/handlers/test_typing.py
@@ -131,7 +131,7 @@ class TypingNotificationsTestCase(unittest.TestCase):
                 if ignore_user is not None and member == ignore_user:
                     continue
 
-                if member.is_mine:
+                if hs.is_mine(member):
                     if localusers is not None:
                         localusers.add(member)
                 else: