summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <dawagner@gmail.com>2015-12-14 12:38:55 +0000
committerDaniel Wagner-Hall <dawagner@gmail.com>2015-12-14 12:38:55 +0000
commit76e69cc8de186c42be5763be0492d074319060cc (patch)
tree3b59882b3e3900f87848264fc992a1aadb9540ab
parentMerge pull request #438 from matrix-org/markjh/fix_search_sql (diff)
downloadsynapse-76e69cc8de186c42be5763be0492d074319060cc.tar.xz
Fix typo
-rw-r--r--synapse/storage/roommember.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/roommember.py b/synapse/storage/roommember.py
index e1777d7afa..4e0e9ab59a 100644
--- a/synapse/storage/roommember.py
+++ b/synapse/storage/roommember.py
@@ -121,7 +121,7 @@ class RoomMemberStore(SQLBaseStore):
         return self.get_rooms_for_user_where_membership_is(
             user_id, [Membership.INVITE]
         ).addCallback(lambda invites: self._get_events([
-            invites.event_id for invite in invites
+            invite.event_id for invite in invites
         ]))
 
     def get_leave_and_ban_events_for_user(self, user_id):