kik-node-api
Advanced tools
Comparing version 4.0.2 to 4.0.3
{ | ||
"name": "kik-node-api", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"description": "An API for creating kik bots (and other stuff)", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -31,4 +31,3 @@ module.exports = (client, callbacks, id, data) => { | ||
let status = data.find("status"); | ||
//user's jid is in the status here, if it wasn't set, set it | ||
user = (user.jid? user : {...user, jid: status.attrs.jid}); | ||
user.jid = status.attrs.jid; | ||
@@ -35,0 +34,0 @@ if(status.text.includes("left") || status.text.includes("removed")){ |
206404
1501