Skip to content

handleThirdPartyImageRoomMessage fails on undefined path #32

@Limvot

Description

@Limvot

handleThirdPartyImageRoomMessage says that either of url, path, or buffer are fine to be passed in, but then calls isFilenameTagged(path), which I believe throws an exception when path is undefined, causing the image message not to be sent.

else if (this.isTaggedMatrixMessage(text) || isFilenameTagged(path)) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions