mirror of
https://github.com/ZZZure/ZZZ-Plugin.git
synced 2025-12-16 13:17:32 +00:00
fix:暂时限制不能查看别人的数据
This commit is contained in:
parent
da4e71db05
commit
ee6e477d21
1 changed files with 4 additions and 4 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue