pull/439/head
Daniel Wagner-Hall 2015-12-14 12:38:55 +00:00
parent fde412b240
commit 76e69cc8de
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):