From 4d0f444e6c7a88ed48816636e00704ef6e0cbc9e Mon Sep 17 00:00:00 2001 From: Rossen Georgiev Date: Sat, 2 Jul 2016 18:55:42 +0100 Subject: [PATCH] dont request persona state for self --- steam/client/builtins/user.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/steam/client/builtins/user.py b/steam/client/builtins/user.py index 45c1120..192f7e2 100644 --- a/steam/client/builtins/user.py +++ b/steam/client/builtins/user.py @@ -23,7 +23,7 @@ class User(object): def __handle_set_persona(self): self.change_status(persona_state=self.persona_state) - self.user = self.get_user(self.steam_id) + self.user = self.get_user(self.steam_id, False) def __handle_persona_state(self, message): for friend in message.body.friends: @@ -63,7 +63,7 @@ class User(object): :type steam_ids: :class:`list` """ m = MsgProto(EMsg.ClientRequestFriendData) - m.body.persona_state_requested = 4294967295 # request all possible flags + m.body.persona_state_requested = 863 m.body.friends.extend(steam_ids) self.send_job(m)