Skip to content
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
@monlovesmango

Description

@monlovesmango

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions