From 6d8d0c5fbbda2fe74ad5fdb407c9ea56773693ba Mon Sep 17 00:00:00 2001 From: Mole Date: Tue, 5 Jan 2016 15:33:54 +0100 Subject: [PATCH] Fixed missing 'var self = this;' --- components/chat.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/chat.js b/components/chat.js index 4adcef0..7a98ae6 100644 --- a/components/chat.js +++ b/components/chat.js @@ -101,7 +101,8 @@ SteamCommunity.prototype.chatMessage = function(recipient, text, type, callback) } type = type || 'saytext'; - + + var self = this; this.request.post({ "uri": "https://api.steampowered.com/ISteamWebUserPresenceOAuth/Message/v1", "form": {