mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-24 07:49:25 -05:00
User.is_mine is no longer a thing. Use hs.is_mine instead.
This commit is contained in:
parent
cf6e5f1dbf
commit
009e4b5637
@ -118,7 +118,7 @@ class TypingNotificationHandler(BaseHandler):
|
|||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def user_left_room(self, user, room_id):
|
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)
|
member = RoomMember(room_id=room_id, user=user)
|
||||||
yield self._stopped_typing(member)
|
yield self._stopped_typing(member)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user