User.is_mine is no longer a thing. Use hs.is_mine instead.

pull/25/head
Erik Johnston 2014-12-15 17:17:51 +00:00
parent cf6e5f1dbf
commit 009e4b5637
1 changed files with 1 additions and 1 deletions

View File

@ -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)