diff options
author | Erik Johnston <erik@matrix.org> | 2014-12-15 17:17:51 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-12-15 17:17:51 +0000 |
commit | 009e4b5637709ff1c18d2e38843b6e6f5934ade4 (patch) | |
tree | 34070b587021528cf5c985c2fbf9a72bcb037e79 /synapse/handlers/typing.py | |
parent | Rename MessageHandler.handle_event. Add a few comments. (diff) | |
download | synapse-009e4b5637709ff1c18d2e38843b6e6f5934ade4.tar.xz |
User.is_mine is no longer a thing. Use hs.is_mine instead.
Diffstat (limited to 'synapse/handlers/typing.py')
-rw-r--r-- | synapse/handlers/typing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/typing.py b/synapse/handlers/typing.py index 34bc955c15..77d66f66ff 100644 --- a/synapse/handlers/typing.py +++ b/synapse/handlers/typing.py @@ -118,7 +118,7 @@ class TypingNotificationHandler(BaseHandler): @defer.inlineCallbacks def user_left_room(self, user, room_id): - if user.is_mine: + if self.hs.is_mine(user): member = RoomMember(room_id=room_id, user=user) yield self._stopped_typing(member) |