From f0260c62c3c96b1448f7c65c11ce2171d7abc114 Mon Sep 17 00:00:00 2001 From: Joseph Date: Wed, 16 Oct 2019 19:41:47 +0000 Subject: [PATCH] [StoriesIGBridge] Use getName() to create custom feed titles (#1332) * [StoriesIGBridge] Use getName() --- bridges/StoriesIGBridge.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bridges/StoriesIGBridge.php b/bridges/StoriesIGBridge.php index ddf9846b..7f2c396f 100644 --- a/bridges/StoriesIGBridge.php +++ b/bridges/StoriesIGBridge.php @@ -44,4 +44,13 @@ class StoriesIGBridge extends BridgeAbstract { return parent::getURI(); } + + public function getName() { + + if (!is_null($this->getInput('username'))) { + return $this->getInput('username') . ' - ' . self::NAME; + } + + return parent::getName(); + } }