def process_member_event(room, event)
      return if Events.processed? event
      id = event['state_key'] || event['sender']
      get_user(id).process_member_event room, event
    end
def process_member_event(room, event)
      return if Events.processed? event
      id = event['state_key'] || event['sender']
      get_user(id).process_member_event room, event
    end
Process a member event.

 @param room [Room] Which room the events are related to.
 @param event [Hash] Event data.