mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-13 20:14:10 +02:00
fix: rewrite and improve caching (#3594)
This commit is contained in:
@@ -100,7 +100,7 @@ class MastodonBridge extends BridgeAbstract
|
||||
// We fetch the boosted content.
|
||||
try {
|
||||
$rtContent = $this->fetchAP($content['object']);
|
||||
$rtUser = $this->loadCacheValue($rtContent['attributedTo'], 86400);
|
||||
$rtUser = $this->loadCacheValue($rtContent['attributedTo']);
|
||||
if (!isset($rtUser)) {
|
||||
// We fetch the author, since we cannot always assume the format of the URL.
|
||||
$user = $this->fetchAP($rtContent['attributedTo']);
|
||||
|
Reference in New Issue
Block a user