Merge pull request #439 from matrix-org/daniel/typo

Fix typo
This commit is contained in:
Daniel Wagner-Hall 2015-12-14 12:46:34 +00:00
commit f382a3bb7e
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ class RoomMemberStore(SQLBaseStore):
return self.get_rooms_for_user_where_membership_is( return self.get_rooms_for_user_where_membership_is(
user_id, [Membership.INVITE] user_id, [Membership.INVITE]
).addCallback(lambda invites: self._get_events([ ).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): def get_leave_and_ban_events_for_user(self, user_id):