I wonder if i should store the original wrap id in the rumor signature for reference

Reply to this note

Please Login to reply.

Discussion

I do this too. Rumor and seal store the id of the wrap in case the user hits broadcast note, which they I re-download the wrap and send it to his/her DM and public inbox relays. Wrap and seal store the id of the inner note so that I can set the relay list that has each chat message without having to decrypt them all the time.

i decided to add the pubkey that unwraps the giftwrap to the rumor signature as well, since we'll want to be able to filter this locally for multi account