def on_account_deleted(channel, notification):
    """ Manage notification AccountDeleted.

        :param channel: channel associated to received notification.
        :param notification: received notification.
        :type channel: diplomacy.client.channel.Channel
    """
    channel.connection.channels.pop(channel.token)
