private function getChannels(MessageInterface $message, RecipientInterface $recipient)
    {
        $channels = $this->channelResolver
            ->getChannels($message->getType(), $this->getChannelStore());

        return $this->channelResolver
            ->filterChannels($recipient, $message->getType(), $channels);
    }