Fixed reference to undefined self

This commit is contained in:
Alexander Corn 2017-08-17 13:12:36 -04:00
parent f5d76527ba
commit 458a179852

View File

@ -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
}