diff --git a/classes/hypeJunction/Wall/Plugin.php b/classes/hypeJunction/Wall/Plugin.php index fb5977e..d54c702 100644 --- a/classes/hypeJunction/Wall/Plugin.php +++ b/classes/hypeJunction/Wall/Plugin.php @@ -106,6 +106,8 @@ public function init() { elgg_register_notification_event('object', 'thewire', array('publish')); elgg_register_plugin_hook_handler('prepare', 'notification:publish:object:hjwall', array($this->notifications, 'formatMessage')); elgg_register_plugin_hook_handler('prepare', 'notification:publish:object:thewire', array($this->notifications, 'formatMessage')); + + elgg_register_plugin_hook_handler('likes:is_likable', 'object:hjwall', 'Elgg\Values::getTrue'); } $action_path = $this->plugin->getPath() . '/actions/';