forked from Hay1tsme/artemis
mai2: add warning about portrait uploading not being supported. #67
This commit is contained in:
parent
dd33144040
commit
73dda06413
@ -818,7 +818,8 @@ class Mai2Base:
|
|||||||
}
|
}
|
||||||
|
|
||||||
async def handle_upload_user_portrait_api_request(self, data: Dict) -> Dict:
|
async def handle_upload_user_portrait_api_request(self, data: Dict) -> Dict:
|
||||||
self.logger.debug(data)
|
self.logger.warning("Portrait uploading not supported at this time.")
|
||||||
|
return {'returnCode': 0, 'apiName': 'UploadUserPortraitApi'}
|
||||||
|
|
||||||
async def handle_upload_user_photo_api_request(self, data: Dict) -> Dict:
|
async def handle_upload_user_photo_api_request(self, data: Dict) -> Dict:
|
||||||
if not self.game_config.uploads.photos or not self.game_config.uploads.photos_dir:
|
if not self.game_config.uploads.photos or not self.game_config.uploads.photos_dir:
|
||||||
|
Loading…
Reference in New Issue
Block a user