'Set up the client.'

def __init__(self, config_file, homeserver, default_room, verify_ssl, username, password):

    self.session_filepath = config_file
    self.auth_tokens = self.get_auth_tokens()
    self.homeserver = homeserver
    self.default_room = default_room
    self.verify_tls = verify_ssl
    self.username = username
    self.password = password
    self.mx_id = '{user}@{homeserver}'.format(user=username, homeserver=urlparse(homeserver).netloc)
    self.client = self.login()
