branle icon indicating copy to clipboard operation
branle copied to clipboard

can't reply to myself more than once

Open monlovesmango opened this issue 3 years ago • 1 comments

hey fiatjaf,

i think i found a small issue where I can't reply to myself more than once and was able to reproduce on branle (3rd post was from forked branle client I am building with fix applied): image

when I logged it to the console usableTags seemed to be returning a proxy value rather than an array(2). image

i fixed it by just changing usableTags (in Reply.vue sendReply method) from this: let usableTags = this.event.tags.filter( ([t, v]) => (t === 'p' || t === 'e') && v )

to this: let usableTags = this.event.tags.filter( ([t, v]) => (t === 'p' || t === 'e') && v ).map(([t, v]) => { return [t, v] })

let me know if you'd like me to create a pull request to fix this... or if I am doing something wrong and it isn't actually broken :)

monlovesmango avatar Apr 14 '22 05:04 monlovesmango

if anyone else runs into this issue it is fixed in my fork: https://github.com/monlovesmango/astral

live client: https://astral.ninja/

monlovesmango avatar May 30 '22 23:05 monlovesmango