Skip to content

feat(launch-intents): allow guildless share intents for Discord DMs and Group DMs - #67

Merged
hugoalves-dev merged 1 commit into
mainfrom
hugo/github-issue-14-43f431
Nov 23, 2026
Merged

hugoalves-dev merged 1 commit into
mainfrom
hugo/github-issue-14-43f431

Conversation

@hugoalves-dev

Copy link
Copy Markdown
Owner

Backend part of hugoalves-dev/go_discord_FrameRelay#14 (support FrameRelay in DMs and Group DMs).

Changes

  • POST /api/launch-intents/share accepts an empty or null guildId, which is what Discord sends from DMs, Group DMs and bot DMs. channelId is still required.
  • POST /api/launch-intents/{id}/watch accepts an empty guildId. The stored intent's guild and channel must still match exactly, so a private-channel share only issues watch links in its own conversation.
  • Activity endpoints remain guild-only.

Tests

  • New: private-channel share → ready → personal watch link. Covers "" and null guild, a wrong channel, a guild mismatch and an empty channel.
  • New: a share with no channel is rejected.
  • dotnet test tests/SonicRelay.Api.IntegrationTests: 278/278 passing.

Deploy order

Deploy this before the bot PR. Until then, guildless shares get a 400 response.

…nd Group DMs

Share intents and ready-intent watch links now accept an empty guild id so
user-installed FrameRelay commands work in private conversations. The stored
channel still binds each watch link; Activity endpoints stay guild-only.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-22T23:53:44.763059Z 2ff89ae PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@hugoalves-dev
hugoalves-dev merged commit bd35510 into main Nov 23, 2026
5 checks passed
@hugoalves-dev
hugoalves-dev deleted the hugo/github-issue-14-43f431 branch November 23, 2026 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant