[MastodonBridge] Update feed URL format (#1718)

Changes feed URL from `https://instance/users/username.atom` to `https://instance/@username.rss`.
This commit is contained in:
Joseph 2020-09-03 05:49:19 +00:00 committed by GitHub
parent fec52418d5
commit d33e090fe1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,7 +78,7 @@ class MastodonBridge extends FeedExpander {
public function getURI(){
if($this->getInput('canusername'))
return 'https://' . $this->getInstance() . '/users/' . $this->getUsername() . '.atom';
return 'https://' . $this->getInstance() . '/@' . $this->getUsername() . '.rss';
return parent::getURI();
}