mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
release: v1.4.3
This commit is contained in:
parent
fb99e878b0
commit
998c67a649
11
docs/changelogs/CHANGELOG.v1.4.3.md
Normal file
11
docs/changelogs/CHANGELOG.v1.4.3.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# v1.4.3
|
||||||
|
|
||||||
|
QQ Version: Windows 9.9.10-24108 / Linux 3.2.7-23361
|
||||||
|
|
||||||
|
## 修复与优化
|
||||||
|
* 修复名片通知
|
||||||
|
|
||||||
|
## 新增与调整
|
||||||
|
|
||||||
|
|
||||||
|
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
|
@ -2,7 +2,7 @@
|
|||||||
"name": "napcat",
|
"name": "napcat",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "1.4.2",
|
"version": "1.4.3",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"watch:dev": "vite --mode development",
|
"watch:dev": "vite --mode development",
|
||||||
"watch:prod": "vite --mode production",
|
"watch:prod": "vite --mode production",
|
||||||
|
2
src/core
2
src/core
@ -1 +1 @@
|
|||||||
Subproject commit a5de3f80e72328d09203d31cecac5bf438c60209
|
Subproject commit b1a9207a5933476276b7247bae025966b89dc52a
|
@ -250,7 +250,8 @@ export class NapCatOnebot11 {
|
|||||||
const role = (await getGroupMember(groupCode, selfInfo.uin))?.role;
|
const role = (await getGroupMember(groupCode, selfInfo.uin))?.role;
|
||||||
const isPrivilege = role === 3 || role === 4;
|
const isPrivilege = role === 3 || role === 4;
|
||||||
for (const member of members.values()) {
|
for (const member of members.values()) {
|
||||||
if (member?.isDelete && !isPrivilege) {
|
//console.log(member?.isDelete, role, isPrivilege);
|
||||||
|
if (member?.isDelete && !isPrivilege /*&& selfInfo.uin !== member.uin*/) {
|
||||||
console.log('[群聊] 群组 ', groupCode, ' 成员' + member.uin + '退出');
|
console.log('[群聊] 群组 ', groupCode, ' 成员' + member.uin + '退出');
|
||||||
const groupDecreaseEvent = new OB11GroupDecreaseEvent(parseInt(groupCode), parseInt(member.uin), 0, 'leave');// 不知道怎么出去的
|
const groupDecreaseEvent = new OB11GroupDecreaseEvent(parseInt(groupCode), parseInt(member.uin), 0, 'leave');// 不知道怎么出去的
|
||||||
postOB11Event(groupDecreaseEvent, true);
|
postOB11Event(groupDecreaseEvent, true);
|
||||||
|
@ -1 +1 @@
|
|||||||
export const version = '1.4.2';
|
export const version = '1.4.3';
|
||||||
|
@ -29,7 +29,7 @@ async function onSettingWindowCreated(view: Element) {
|
|||||||
SettingItem(
|
SettingItem(
|
||||||
'<span id="napcat-update-title">Napcat</span>',
|
'<span id="napcat-update-title">Napcat</span>',
|
||||||
undefined,
|
undefined,
|
||||||
SettingButton('V1.4.2', 'napcat-update-button', 'secondary')
|
SettingButton('V1.4.3', 'napcat-update-button', 'secondary')
|
||||||
),
|
),
|
||||||
]),
|
]),
|
||||||
SettingList([
|
SettingList([
|
||||||
|
@ -167,7 +167,7 @@ async function onSettingWindowCreated(view) {
|
|||||||
SettingItem(
|
SettingItem(
|
||||||
'<span id="napcat-update-title">Napcat</span>',
|
'<span id="napcat-update-title">Napcat</span>',
|
||||||
void 0,
|
void 0,
|
||||||
SettingButton("V1.4.2", "napcat-update-button", "secondary")
|
SettingButton("V1.4.3", "napcat-update-button", "secondary")
|
||||||
)
|
)
|
||||||
]),
|
]),
|
||||||
SettingList([
|
SettingList([
|
||||||
|
Loading…
x
Reference in New Issue
Block a user