refactor: emmm

This commit is contained in:
linyuchen 2024-03-29 01:30:05 +08:00
parent 02c973fe5e
commit c1b6daaf32

View File

@ -45,7 +45,7 @@ let lastRKeyUpdateTime = 0;
export class OB11Constructor {
static async message(msg: RawMessage): Promise<OB11Message> {
let config = getConfigUtil().getConfig();
const {enableLocalFile2Url, ob11: {messagePostFormat}} = getConfigUtil().getConfig()
const {enableLocalFile2Url, ob11: {messagePostFormat}} = config;
const message_type = msg.chatType == ChatType.group ? "group" : "private";
const resMsg: OB11Message = {
self_id: parseInt(selfInfo.uin),