nostrability icon indicating copy to clipboard operation
nostrability copied to clipboard

0xChat/Coracle NIP 17 group chat/dm distinction

Open staab opened this issue 1 year ago • 0 comments

client initiating action

Coracle

client receiving or observing action (or lack thereof)

0xChat

what happens

When sending a DM to a single recipient, Coracle adds the author to the p tags. When receiving DMs, 0xChat doesn't deduplicate p-tags + author, and detects a one-on-one chat with duplicate tags as a group chat.

suggestion

Coracle should omit the message author from the p-tags, and 0xChat should deduplicate pubkey/p-tags.

staab avatar Oct 11 '24 16:10 staab