You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7d3ed5a
Browse filesBrowse the repository at this point in the historyBrowse files
fix(mentions): keep saved team names from blocking Space on a pasted key
Review follow-up. A complete pasted key matches only its owner, so a
saved team named like that npub or hex key, or like the key followed by
a word, is never shown for it. teamBlocksSpace still compared team
names with the query, though, so such a team cleared the owner's Space
selection in the chooser and made the delayed Space resolver return
the text to prose.
teamBlocksSpace now returns false for an exact public key. Ordinary
names keep the same-or-longer team check. Section 5 of the mentions
contract says that a team name does not keep a key from selecting. New
tests cover a team with the npub as its name and one with a longer
name, in the chooser and in the resolver.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Matt Toohey <[email protected]>
0 commit comments