release: v1.4.3

This commit is contained in:
手瓜一十雪 committed 2024-05-30 16:21:39 +08:00
1 parent 9cff9dbcaf
commit c47916edfb
7 files changed
+18 -6

No files matched your search

Submodule src/core updated: a5de3f80e7...b1a9207a59.
+2 -1
View File
@@ -250,7 +250,8 @@ export class NapCatOnebot11 {
const role = (await getGroupMember(groupCode, selfInfo.uin))?.role;
const isPrivilege = role === 3 || role === 4;
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 + '退出');
const groupDecreaseEvent = new OB11GroupDecreaseEvent(parseInt(groupCode), parseInt(member.uin), 0, 'leave');// 不知道怎么出去的
postOB11Event(groupDecreaseEvent, true);
+1 -1
View File
@@ -1 +1 @@
export const version = '1.4.2';
export const version = '1.4.3';
+1 -1
View File
@@ -29,7 +29,7 @@ async function onSettingWindowCreated(view: Element) {
SettingItem(
'<span id="napcat-update-title">Napcat</span>',
undefined,
SettingButton('V1.4.2', 'napcat-update-button', 'secondary')
SettingButton('V1.4.3', 'napcat-update-button', 'secondary')
),
]),
SettingList([