Skip to content

Use an instanceof check in Messenger #7

@smashwilson

Description

@smashwilson

I'm now using an awful hack to identify TextMessages, which probably won't work at all for some adapters without more special cases. The right way to do this is an instanceof check against TextMessage, but I'm not sure of a reliable way to get the correct TextMessage constructor to use. There's probably some npm-fu I can use to get this; it merits further research.

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