Skip to content

Commit

Permalink
[StoriesIGBridge] Use getName() to create custom feed titles (RSS-Bri…
Browse files Browse the repository at this point in the history
…dge#1332)

* [StoriesIGBridge] Use getName()
  • Loading branch information
VerifiedJoseph authored and teromene committed Oct 16, 2019
1 parent 6c2fe74 commit 2d802bf
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions bridges/StoriesIGBridge.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

0 comments on commit 2d802bf

Please sign in to comment.