1
0
forked from Hay1tsme/artemis

chuni: add userRecentPlayerList check in upsertuserall

This commit is contained in:
Hay1tsme 2023-11-25 01:00:49 -05:00
parent 468c99c3c2
commit fe25359e8e

View File

@ -317,8 +317,7 @@ class ChuniBase:
return { return {
"userId": data["userId"], "userId": data["userId"],
"length": 0, "length": 0,
"nextIndex": -1, "userRecentPlayerList": [], # playUserId, playUserName, playDate, friendPoint
"userRecentPlayerList": [],
} }
def handle_get_user_course_api_request(self, data: Dict) -> Dict: def handle_get_user_course_api_request(self, data: Dict) -> Dict:
@ -916,6 +915,10 @@ class ChuniBase:
self.data.item.put_login_bonus( self.data.item.put_login_bonus(
user_id, self.version, login["presetId"], isWatched=True user_id, self.version, login["presetId"], isWatched=True
) )
if "userRecentPlayerList" in upsert: # TODO: Seen in Air, maybe implement sometime
for rp in upsert["userRecentPlayerList"]:
pass
return {"returnCode": "1"} return {"returnCode": "1"}