summary refs log tree commit diff
path: root/synapse/handlers/typing.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2016-05-16 20:06:55 +0100
committerMark Haines <mark.haines@matrix.org>2016-05-16 20:06:55 +0100
commit80cb9becd8176fdc357ad64170106b3ed52df650 (patch)
tree0d3944d64e776a20f985948779896b50b5204501 /synapse/handlers/typing.py
parentget_room_members is unused now (diff)
downloadsynapse-80cb9becd8176fdc357ad64170106b3ed52df650.tar.xz
Remove get_joined_rooms_for_user from RoomMemberHandler
Diffstat (limited to 'synapse/handlers/typing.py')
-rw-r--r--synapse/handlers/typing.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/synapse/handlers/typing.py b/synapse/handlers/typing.py
index 92eff534d6..fca8d25c3f 100644
--- a/synapse/handlers/typing.py
+++ b/synapse/handlers/typing.py
@@ -229,7 +229,6 @@ class TypingNotificationEventSource(object):
         self.hs = hs
         self.clock = hs.get_clock()
         self._handler = None
-        self._room_member_handler = None
 
     def handler(self):
         # Avoid cyclic dependency in handler setup
@@ -237,11 +236,6 @@ class TypingNotificationEventSource(object):
             self._handler = self.hs.get_handlers().typing_notification_handler
         return self._handler
 
-    def room_member_handler(self):
-        if not self._room_member_handler:
-            self._room_member_handler = self.hs.get_handlers().room_member_handler
-        return self._room_member_handler
-
     def _make_event_for(self, room_id):
         typing = self.handler()._room_typing[room_id]
         return {