添加省流开关(加载头像)

This commit is contained in:
MrZ626
2021-04-27 10:00:48 +08:00
parent bc9aaff19a
commit 355c2cd8a1
8 changed files with 11 additions and 4 deletions

View File

@@ -144,7 +144,7 @@ function NET.getAccessToken()
end
end
function NET.getUserInfo(uid)
local hash=not SETTING.dataSaving and USERS.getHash(uid)
local hash=(not SETTING.dataSaving or nil)and USERS.getHash(uid)
WS.send("user",JSON.encode{
action=1,
data={