Commit 23c93fa4 authored by Mark Harding's avatar Mark Harding

(fix): onchain wire notifications now trigger

parent 066d88d8
No related merge requests found
Pipeline #69691072 passed with stages
in 6 minutes and 17 seconds
......@@ -10,6 +10,7 @@ use Minds\Core\Queue;
use Minds\Core\Queue\Interfaces;
use Minds\Core\Util\BigNumber;
use Minds\Core\Wire;
use Minds\Entities;
class WireNotification implements Interfaces\QueueRunner
{
......@@ -24,6 +25,10 @@ class WireNotification implements Interfaces\QueueRunner
$wire = isset($data['wire']) ? unserialize($data['wire']) : null;
$entity = isset($data['entity']) ? unserialize($data['entity']) : null;
if (is_numeric($entity)) {
$entity = Entities\Factory::build($entity);
}
if (!$entity || !is_object($entity)) {
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment