mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-12 09:13:23 +00:00
All GiftWrapEvent.create() calls in WebRtcCallFactory now pass expirationDelta=20 so relays can garbage-collect the wraps after the signaling data is no longer relevant. The actual expiration timestamp is createdAt + 20s + 2 days (to account for the randomized createdAt in NIP-59 gift wraps). Previously only the inner events had expiration tags — the outer gift wraps persisted indefinitely on relays. https://claude.ai/code/session_017hZm7yu7CzmcQgZGSaqSXS