Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chat issue #176

Closed
NikKOo31 opened this issue Aug 13, 2017 · 3 comments
Closed

Chat issue #176

NikKOo31 opened this issue Aug 13, 2017 · 3 comments
Labels

Comments

@NikKOo31
Copy link

Hello, I got this in console last night. I can't say much about it, since I'm pretty new to js.

screenshot_1

Obviously, I can't reproduce it. It happened while I wasn't online, and the account I was using for testing doesn't have any friends that chats with it, so I really don't know what triggered the event.

@Aareksio
Copy link
Contributor

Seems like _chatUpdatePersona was called (rather got response) after chatLogoff. chatLogoff deletes SteamCommunity.chatFriends, that's why the error implies it's undefined.

Without debug log it's hard to say what exactly have happened. Are you using chatLogoff, any method prefixed with underscore (_) or modifing SteamCommunity properties manually in your code?

@NikKOo31
Copy link
Author

Hi Aareksio, thanks for the response!
I do use a call to chatLogoff(), and also gamesPlayed([]). And they are called in that order before using webLogOn() to refresh the session at intervals of 2 hours. I've had the bot running that way since a few weeks, but it's the first time that I see this error. May it be caused by my crappy internet connection?

@DoctorMcKay
Copy link
Owner

Was probably the result of a request being outstanding when you logged off of chat. This should be fixed in 3.32.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants