#I991QA
This commit is contained in:
parent
ca46134b81
commit
de3e7f377c
|
@ -376,6 +376,10 @@ class PluginsLoader {
|
|||
case 'file':
|
||||
e.file = { name: val.name, fid: val.fid }
|
||||
break
|
||||
case "xml":
|
||||
case "json":
|
||||
e.msg = (e.msg || "") + (typeof val.data == "string" ? val.data : JSON.stringify(val.data))
|
||||
break
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -75,7 +75,7 @@ export default class plugin {
|
|||
if (isGroup) {
|
||||
return `${this.name}.${this.e.group_id}`
|
||||
} else {
|
||||
return `${this.name}.${this.e.user_id}`
|
||||
return `${this.name}.${this.userId || this.e.user_id}`
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue