bug fix
This commit is contained in:
parent
9c3380a5ee
commit
e31e7ff847
@ -29,12 +29,9 @@ class NoteRepliedListener
|
||||
{
|
||||
$note_actor = $event->object->get_actor ()->first ();
|
||||
|
||||
Log::info ("hi");
|
||||
if (!$note_actor || !$note_actor->user)
|
||||
return;
|
||||
|
||||
Log::info ("bai");
|
||||
|
||||
$note_actor->user->notify (new UserNotification(
|
||||
"Reply",
|
||||
$event->actor->id,
|
||||
|
@ -222,8 +222,8 @@ class TypeNote
|
||||
{
|
||||
$actor_exists->user->notify (new UserNotification(
|
||||
"Mention",
|
||||
$actor,
|
||||
$actor_exists
|
||||
$actor->id,
|
||||
$actor_exists->id
|
||||
));
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user