Skip to content

Conversation

@spaced4ndy
Copy link
Collaborator

No description provided.

@spaced4ndy spaced4ndy changed the title agent: getConnShortLinkAsync agent: getConnShortLinkAsync; implement joinConnectionAsync for contact connections Jan 16, 2026
@spaced4ndy spaced4ndy marked this pull request as ready for review January 16, 2026 17:17
liftEitherWith (CMD PROHIBITED . ("setConnShortLinkAsync: " <>)) $ validateOwners shortLink d
pure server
(RcvConnection _ RcvQueue {server}, SCMInvitation, UserInvLinkData {}) -> pure server
_ -> throwE $ CMD PROHIBITED "setConnShortLinkAsync: invalid connection or mode"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
_ -> throwE $ CMD PROHIBITED "setConnShortLinkAsync: invalid connection or mode"
_ -> throwE $ CMD PROHIBITED "setConnShortLinkAsync: invalid connection type"

@spaced4ndy spaced4ndy changed the title agent: getConnShortLinkAsync; implement joinConnectionAsync for contact connections agent: getConnShortLinkAsync; implement joinConnectionAsync for contact connections; narrow setConnShortLinkAsync only to Contact connections Jan 20, 2026
@spaced4ndy spaced4ndy merged commit 89b81d1 into master Jan 20, 2026
3 of 6 checks passed
@spaced4ndy spaced4ndy deleted the f/getConnShortLinkAsync branch January 20, 2026 08:40
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.

2 participants