diff --git a/components/chat.js b/components/chat.js index 4329e71..21e743a 100644 --- a/components/chat.js +++ b/components/chat.js @@ -219,7 +219,7 @@ SteamCommunity.prototype._relogWebChat = function() { }; SteamCommunity.prototype._chatUpdatePersona = function(steamID) { - if (!this.chatFriends || self.chatState == SteamCommunity.ChatState.Offline) { + if (!this.chatFriends || this.chatState == SteamCommunity.ChatState.Offline) { return; // we no longer care }