Very strange bug that I don't know how it got there
This commit is contained in:
parent
c7a758b6c8
commit
dd5af79304
@ -92,7 +92,7 @@ class ActivityPubPlugin extends Plugin
|
||||
public static function get_local_notice_from_url($url)
|
||||
{
|
||||
try {
|
||||
return Notice::getByUri($data->object->inReplyTo);
|
||||
return Notice::getByUri($url);
|
||||
} catch (Exception $e) {
|
||||
try {
|
||||
$candidate = Notice::getByID(intval(substr($url, strlen(common_local_url('shownotice', ['notice' => ''])))));
|
||||
|
Reference in New Issue
Block a user