diff --git a/app/Note.php b/app/Note.php index 6faf43bd..390ee906 100644 --- a/app/Note.php +++ b/app/Note.php @@ -269,8 +269,7 @@ class Note extends Model return; } - $arr = explode('/', $url); - $tweetId = end($arr); + $tweetId = basename($this->in_reply_to); if (Cache::has($tweetId)) { return Cache::get($tweetId); }