From 2d802bf7d85cb4bc9e3f3c50c273e08ab22f072c 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 ddf9846b145..7f2c396faf6 100644 --- a/bridges/StoriesIGBridge.php +++ b/bridges/StoriesIGBridge.php @@ -44,4 +44,13 @@ public function getURI(){ return parent::getURI(); } + + public function getName() { + + if (!is_null($this->getInput('username'))) { + return $this->getInput('username') . ' - ' . self::NAME; + } + + return parent::getName(); + } }