Skip to content

Comments

added check of CB before calling the method apply#11

Open
degiorgig wants to merge 1 commit intoarcturial:masterfrom
degiorgig:master
Open

added check of CB before calling the method apply#11
degiorgig wants to merge 1 commit intoarcturial:masterfrom
degiorgig:master

Conversation

@degiorgig
Copy link

Added the if to check that the object is not null since it was firing:
telegram ERROR TypeError: Cannot read property 'apply' of undefined

on

robot.emit 'telegram:invoke', 'sendMessage', {chat_id: msg.message.room, text: decodeURIComponent(value), parse_mode:'HTML' }

Cheers
G.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant