fix: get self uin on old QQ

This commit is contained in:
linyuchen
2024-03-24 00:48:30 +08:00
parent c14f8b21c2
commit 94c928905e

View File

@@ -389,6 +389,8 @@ function onLoad() {
selfInfo.nick = selfInfo.uin;
} catch (e) {
log("retry get self info", e);
}
if (!selfInfo.uin) {
selfInfo.uin = globalThis.authData?.uin;
selfInfo.uid = globalThis.authData?.uid;
selfInfo.nick = selfInfo.uin;