mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2026-08-19 13:13:28 +08:00
Fixed reference to undefined self
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user