Merge remote-tracking branch 'origin/main'

This commit is contained in:
Seijo Cecilia committed 2024-08-26 14:01:21 +08:00
commit 93c6750f39
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -19,7 +19,7 @@ export default class DelEssenceMsg extends BaseAction<Payload, any> {
async _handle(payload: Payload): Promise<any> {
const NTQQGroupApi = this.core.apis.GroupApi;
const msg = MessageUnique.getMsgIdAndPeerByShortId(parseInt(payload.message_id.toString()));
const msg = MessageUnique.getMsgIdAndPeerByShortId(+payload.message_id);
if (!msg) throw new Error('msg not found');
return await NTQQGroupApi.removeGroupEssence(
msg.Peer.peerUid,