can't see invitation
Opened this issue · 2 comments
sundaywork commented
The bot is not able to see invitation from new friends. Is there anyone else having the same issue? I've tried to put the bot account in either gtalk or hangout mode. Neither works.
sundaywork commented
xmpp.on('subscribe', function(from) {
console.log("invited by" + from);
xmpp.acceptSubscription(from);
});
there is no console message showing this event was triggered. help please!
Mo33n commented
Kindly use the following code to track down the presence stanza that the bot is receiving.
and copy paste that here.
xmpp.on('stanza', function(stanza) {
console.log(stanza);
});
Thanks