You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 14, 2017. It is now read-only.
/Users/dbrito/skynetwork/chat-bot/node_modules/wobot/node_modules/node-xmpp/lib/xmpp/session.js:127
this.connection.send(stanza.root());
^
TypeError: Object has no method 'root'
at Client.Session.send (/Users/dbrito/skynetwork/chat-bot/node_modules/wobot/node_modules/node-xmpp/lib/xmpp/session.js:127:30)
at null.<anonymous> (/Users/dbrito/skynetwork/chat-bot/node_modules/wobot/lib/bot.js:66:19)
at wrapper [as _onTimeout] (timers.js:252:14)
at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)
The text was updated successfully, but these errors were encountered:
Upon further investigation it looks like this code in bot.js:65 might be the problem, because node-xmppSession.prototyp.send() seems to expect to be able to call .root() on what's passed in:
Looks to be a result of the node-xmpp module:
The text was updated successfully, but these errors were encountered: