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