Retrieve data for users not cached when they are requested

This commit is contained in:
Manuel Cortez 2019-01-13 13:13:05 -06:00
parent 43b762dd2a
commit cb00ff7c5d

View File

@ -210,6 +210,7 @@ class vkSession(object):
else: else:
user = dict(id=user_id) user = dict(id=user_id)
self.process_usernames(data=dict(profiles=[user], groups=[])) self.process_usernames(data=dict(profiles=[user], groups=[]))
return self.get_user(user_id)
else: else:
if abs(user_id) in self.db["groups"]: if abs(user_id) in self.db["groups"]:
user_data = {} user_data = {}