diff --git a/docs/changelogs/CHANGELOG.v1.4.0.md b/docs/changelogs/CHANGELOG.v1.3.8.md similarity index 97% rename from docs/changelogs/CHANGELOG.v1.4.0.md rename to docs/changelogs/CHANGELOG.v1.3.8.md index 9f4f4ff2..0ca8103a 100644 --- a/docs/changelogs/CHANGELOG.v1.4.0.md +++ b/docs/changelogs/CHANGELOG.v1.3.8.md @@ -1,4 +1,4 @@ -# v1.4.0 +# v1.3.8 QQ Version: Windows 9.9.9-23873 / Linux 3.2.7-23361 @@ -8,6 +8,7 @@ QQ Version: Windows 9.9.9-23873 / Linux 3.2.7-23361 * 兼容 9.7.x 版本换行符 统一为 \n * 修复处理加群请求 字段异常情况 * 修复退群通知问题 + ## 新增与调整 diff --git a/package.json b/package.json index efc577d6..58a07cfe 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "napcat", "private": true, "type": "module", - "version": "1.3.6", + "version": "1.3.8", "scripts": { "watch:dev": "vite --mode development", "watch:prod": "vite --mode production", diff --git a/src/onebot11/version.ts b/src/onebot11/version.ts index 2039e275..384fed38 100644 --- a/src/onebot11/version.ts +++ b/src/onebot11/version.ts @@ -1 +1 @@ -export const version = '1.4.0'; +export const version = '1.3.8'; diff --git a/src/proto/SysMessage.MsgType.34.proto b/src/proto/SysMessage.MsgType.34.proto index e69de29b..8134e89a 100644 --- a/src/proto/SysMessage.MsgType.34.proto +++ b/src/proto/SysMessage.MsgType.34.proto @@ -0,0 +1,28 @@ +syntax = "proto3"; +package SysMessage; +message Data { + repeated Header header = 1; + repeated Body body = 2; + repeated Other other = 2; +} +message Header { + uint32 PeerNumber = 1; + string PeerString = 2; + uint32 Uin = 5; + optional string Uid = 6; + } +message Body { + uint32 MsgType = 1; + uint32 SubType_0 = 2; + uint32 SubType_1 = 3; + uint32 MsgSeq= 5; + uint32 Time = 6; + uint64 MsgID = 12; + uint32 Other = 13; +} +message Event { + +} +message Other { + repeated Event event = 2; +} \ No newline at end of file diff --git a/src/webui/ui/NapCat.ts b/src/webui/ui/NapCat.ts index 240033eb..80ccbfb2 100644 --- a/src/webui/ui/NapCat.ts +++ b/src/webui/ui/NapCat.ts @@ -29,7 +29,7 @@ async function onSettingWindowCreated(view: Element) { SettingItem( 'Napcat', undefined, - SettingButton('V1.4.0', 'napcat-update-button', 'secondary') + SettingButton('V1.3.8', 'napcat-update-button', 'secondary') ), ]), SettingList([ diff --git a/static/assets/renderer.js b/static/assets/renderer.js index dc147498..51830cd4 100644 --- a/static/assets/renderer.js +++ b/static/assets/renderer.js @@ -167,7 +167,7 @@ async function onSettingWindowCreated(view) { SettingItem( 'Napcat', void 0, - SettingButton("V1.4.0", "napcat-update-button", "secondary") + SettingButton("V1.3.8", "napcat-update-button", "secondary") ) ]), SettingList([