mirror of
https://github.com/LLOneBot/LLOneBot.git
synced 2024-11-22 01:56:33 +00:00
fix: get self uin on old QQ
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user