And how about the keypackages?
Discussion
Keychat's current MLS KeyPackage event is a replaceable event, which makes it easier to update and manage the KeyPackage. Events are replaceable, which means that for each combination of pubkey and kind, only the latest event must be stored by relays, and older versions may be discarded.
In addition, after a new member joins a group, an update commit is performed immediately.
Keychat can also publish the KeyPackage using NIP-EE’s kind: 443.
What do you think about using replaceable events to update and manage KeyPackages?
Yes, I agree that using replaceable events helps reduce the need for manual deletion and management—I’ve considered this before as well.
And I think we could even use addressable events, with the d tag to indicate different clients and devices, so that each device or client can maintain its own KeyPackage.