This repository was archived by the owner on Feb 8, 2023. It is now read-only.
This repository was archived by the owner on Feb 8, 2023. It is now read-only.
can't reply to myself more than once #34
Open
Description
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):
when I logged it to the console usableTags seemed to be returning a proxy value rather than an array(2).
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 :)
Metadata
Metadata
Assignees
Labels
No labels