diff --git a/INSTALL.md b/INSTALL.md index d94165a..2bda7a1 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -48,7 +48,7 @@ zip -r ../ncdiscdhook.zip . ```bash cd /path/to/nextcloud/apps -git clone https://github.com/your-org/ncdiscordhook.git +git clone https://github.com/Mr-Newlove/nc_bot_webhooks.git # or copy the directory manually: # cp -r /path/to/ncdiscordhook /path/to/nextcloud/apps/ncdiscordhook ``` diff --git a/appinfo/info.xml b/appinfo/info.xml index b237f10..980380a 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -6,9 +6,10 @@ Discord webhook bridge for Nextcloud Talk with image support Accepts Discord webhook-style JSON payloads and posts them into Nextcloud Talk rooms, preserving image attachments. Each room gets its own webhook URL with an auth token for security. 1.0.0 - agpl - Kyle + AGPL-3.0-or-later + Kyle NCdiscordhook + integration @@ -22,8 +23,5 @@ OCA\NCdiscordhook\Settings\Admin - integration - - https://github.com/your-org/ncdiscordhook/issues - https://github.com/your-org/ncdiscordhook + https://github.com/Mr-Newlove/nc_bot_webhooks/issues diff --git a/lib/Service/TalkService.php b/lib/Service/TalkService.php index 76a3354..acb2a53 100644 --- a/lib/Service/TalkService.php +++ b/lib/Service/TalkService.php @@ -431,7 +431,7 @@ class TalkService { // Clean up empty subdirectories foreach ($folder->getDirectoryListing() as $node) { if ($node instanceof Folder && $node->getFolderInfo() === null) { - // Folder is empty, check if parent has content + $node->delete(); } }