Skip to content

fix: we cannot invite ourselves to a group#1905

Merged
Bilb merged 1 commit intodevfrom
fix-cannot-create-group-nts
Mar 23, 2026
Merged

fix: we cannot invite ourselves to a group#1905
Bilb merged 1 commit intodevfrom
fix-cannot-create-group-nts

Conversation

@Bilb
Copy link
Collaborator

@Bilb Bilb commented Mar 23, 2026

No description provided.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR prevents users from inviting themselves (their own 05 pubkey) to a group when selecting invitees via search results.

Changes:

  • Retrieve the current user’s pubkey from cache.
  • Exclude the current user’s pubkey from the searchable invitee list (while still restricting to valid 05 pubkeys).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Bilb Bilb merged commit d7934e7 into dev Mar 23, 2026
15 checks passed
@Bilb Bilb deleted the fix-cannot-create-group-nts branch March 23, 2026 01:02
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.

3 participants