fix:暂时限制不能查看别人的数据

This commit is contained in:
bietiaop 2024-07-13 19:53:35 +08:00
parent da4e71db05
commit ee6e477d21

View file

@ -9,10 +9,10 @@ export class ZZZPlugin extends plugin {
* @returns {Promise<string>}
*/
async getUID() {
let user = this.e;
if (this.e.at) {
user = this.e.at;
}
const user = this.e;
// if (this.e.at) {
// user = this.e.at;
// }
this.User = await NoteUser.create(user);
// let uid = this.e.msg.match(/\d+/)?.[0];
const uid = this.User?.getUid('zzz');