diff --git a/clientapp/helpers/xmppEventHandlers.js b/clientapp/helpers/xmppEventHandlers.js index b276aa7..eef0d29 100644 --- a/clientapp/helpers/xmppEventHandlers.js +++ b/clientapp/helpers/xmppEventHandlers.js @@ -150,7 +150,7 @@ module.exports = function (client, app) { if (item.subscription === 'remove') { if (contact) { - me.removeContact(contact); + me.removeContact(item.jid); } return; } diff --git a/package.json b/package.json index 9259da0..ce81382 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "otalk.im", - "version": "0.0.22", + "version": "0.0.23", "description": "Otalk: WebRTC Enabled XMPP Client, in the Browser", "repository": { "type": "git",