'Authorize a received subscription request from the JID.'

def authorize(self):

    self['from'] = True
    self['pending_in'] = False
    self.save()
    self._subscribed()
    self.send_last_presence()
