/usr/share/buddycloud-http-api/src/notifications_posts.js:68
var entry = items.get('p:item/a:entry', {
^
TypeError: Cannot call method 'get' of undefined
at extractItem (/usr/share/buddycloud-http-api/src/notifications_posts.js:68:21)
at /usr/share/buddycloud-http-api/src/notifications_posts.js:42:18
at Client.Session.onStanza (/usr/share/buddycloud-http-api/src/util/session.js:257:5)
at Client.g (events.js:192:14)
at Client.EventEmitter.emit (events.js:126:20)
at Client.onRawStanza (/usr/share/buddycloud-http-api/node_modules/node-xmpp/lib/xmpp/client.js:159:14)
at Client.EventEmitter.emit (events.js:96:17)
at Client.Connection.onStanza (/usr/share/buddycloud-http-api/node_modules/node-xmpp/lib/xmpp/connection.js:237:14)
at StreamParser.Connection.startParser (/usr/share/buddycloud-http-api/node_modules/node-xmpp/lib/xmpp/connection.js:136:14)
at StreamParser.EventEmitter.emit (events.js:96:17)
Running against a Tigase environment:
/usr/share/buddycloud-http-api/src/notifications_posts.js:68 var entry = items.get('p:item/a:entry', { ^ TypeError: Cannot call method 'get' of undefined at extractItem (/usr/share/buddycloud-http-api/src/notifications_posts.js:68:21) at /usr/share/buddycloud-http-api/src/notifications_posts.js:42:18 at Client.Session.onStanza (/usr/share/buddycloud-http-api/src/util/session.js:257:5) at Client.g (events.js:192:14) at Client.EventEmitter.emit (events.js:126:20) at Client.onRawStanza (/usr/share/buddycloud-http-api/node_modules/node-xmpp/lib/xmpp/client.js:159:14) at Client.EventEmitter.emit (events.js:96:17) at Client.Connection.onStanza (/usr/share/buddycloud-http-api/node_modules/node-xmpp/lib/xmpp/connection.js:237:14) at StreamParser.Connection.startParser (/usr/share/buddycloud-http-api/node_modules/node-xmpp/lib/xmpp/connection.js:136:14) at StreamParser.EventEmitter.emit (events.js:96:17)