mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 08:25:53 -05:00
Add note about not including tags on inner message events
This commit is contained in:
parent
b1769d5ea1
commit
d898239e26
6
104.md
6
104.md
|
@ -235,13 +235,13 @@ Group Events are published using an ephemeral Nostr keypair to obfuscate the num
|
|||
|
||||
### Application Messages
|
||||
|
||||
Application messages are the messages that are sent within the group by members. These are contained within the `MLSMessage` object. The format of these messages should be unsigned Nostr events of the appropriate kind. For normal DM or group messages, clents SHOULD use `kind: 9` chat message events. If the user reacts to a message, it would be a `kind: 7` event.
|
||||
Application messages are the messages that are sent within the group by members. These are contained within the `MLSMessage` object. The format of these messages should be unsigned Nostr events of the appropriate kind. For normal DM or group messages, clents SHOULD use `kind: 9` chat message events. If the user reacts to a message, it would be a `kind: 7` event, and so on.
|
||||
|
||||
This means that once the application message has been decrypted and deserialized, clients can store those events and treat them as any other Nostr event, effectively creating a private Nostr feed of the group's activity and taking advantage of all the features of Nostr.
|
||||
|
||||
The Nostr event MUST use the member's Nostr identity key for the `pubkey` field and clients MUST check that the identity of them member who sent the message matches the pubkey of the inner Nostr event.****
|
||||
The Nostr event MUST use the member's Nostr identity key for the `pubkey` field and clients MUST check that the identity of them member who sent the message matches the pubkey of the inner Nostr event.
|
||||
|
||||
These Nostr events MUST remain **unsigned** to ensure that if they were to leak to relays they would not be published publicly.
|
||||
These Nostr events MUST remain **unsigned** to ensure that if they were to leak to relays they would not be published publicly. These Nostr events MUST not include any "h" tags or other tags that would identify the group that they belong to.
|
||||
|
||||
### `Commit` Message race conditions
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user