Files
nc_bot_webhooks/lib/Service
kyle dec9b5267e refactor(TalkService): update sharing logic and use ChatManager for system messages
Mostly working. Image actually being embedded now.
- Inject `ChatManager` dependency into `TalkService`.
- Refactor `uploadImage` to generate timestamped filenames (`talk-bot YYYY-MM-DD hh.mm.ss.microsec.ext`) and fix directory creation logic for Nextcloud 33 compatibility.
- Update file sharing logic to use `TYPE_ROOM` shares resolved by `fileId` and create a separate `TYPE_LINK` share for public previews.
- Switch message posting to use `ChatManager::addSystemMessage` for `file_shared` events.
- Send text message via HTTP API as a fallback to ensure participant records and moderation checks.
- Update logging to include debug information for rich objects and share IDs.
2026-06-13 22:40:55 -07:00
..