This commit is contained in:
Daniel Wagner-Hall 2015-12-14 12:38:55 +00:00
parent fde412b240
commit 76e69cc8de

View File

@ -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):