summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-06-03 14:03:42 +0100
committerErik Johnston <erik@matrix.org>2016-06-03 14:03:42 +0100
commitab116bdb0c2d8e295b1473af84c453d212dc07ea (patch)
tree44a8380765931991297a4a655231077cc411c5b9
parentMerge pull request #822 from matrix-org/matthew/brand-from-header (diff)
downloadsynapse-ab116bdb0c2d8e295b1473af84c453d212dc07ea.tar.xz
Fix typo
-rw-r--r--synapse/handlers/typing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/typing.py b/synapse/handlers/typing.py
index 3c54307bed..861b8f7989 100644
--- a/synapse/handlers/typing.py
+++ b/synapse/handlers/typing.py
@@ -140,7 +140,7 @@ class TypingHandler(object):
     def user_left_room(self, user, room_id):
         user_id = user.to_string()
         if self.is_mine_id(user_id):
-            member = RoomMember(room_id=room_id, user=user_id)
+            member = RoomMember(room_id=room_id, user_id=user_id)
             yield self._stopped_typing(member)
 
     @defer.inlineCallbacks