mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-10 07:27:23 +02:00
e5a715aefee8276a993452dba01ae95b31bd4bd0
The $contacts alias in REQ command was broken due to an object reference issue. The contact list pointer object was being created inline on every render, causing useNostrEvent to treat it as a new pointer each time and disrupting the subscription. Now properly memoize the pointer object so it only changes when accountPubkey or needsAccount actually changes, ensuring stable subscriptions and proper contact list retrieval. Fixes the $contacts alias resolution in REQ commands. Co-authored-by: Claude <noreply@anthropic.com>
Languages
TypeScript
98.9%
CSS
0.8%
JavaScript
0.3%