. // }}} /** * Handle xmpp notifications * * @package GNUsocial * @category Plugin * * @author Hugo Sales * @copyright 2020-2021 Free Software Foundation, Inc http://www.fsf.org * @license https://www.gnu.org/licenses/agpl.html GNU AGPL v3 or later */ namespace Plugin\XMPPNotifications; use App\Core\Event; use App\Core\Modules\Module; class XMPPNotifications extends Module { public function onAddNotificationTransport(&$form_defs): bool { $form_defs['xmpp'] = $form_defs['placeholder']; return Event::next; } }