mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-14 04:24:05 +02:00
@@ -62,6 +62,9 @@ class MastodonBridge extends BridgeAbstract
|
||||
public function collectData()
|
||||
{
|
||||
$user = $this->fetchAP($this->getURI());
|
||||
if (!isset($user['outbox'])) {
|
||||
throw new \Exception('Unable to find the outbox');
|
||||
}
|
||||
$content = $this->fetchAP($user['outbox']);
|
||||
if (is_array($content['first'])) { // mobilizon
|
||||
$content = $content['first'];
|
||||
|
Reference in New Issue
Block a user