mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-18 10:22:26 +08:00
Fix duplicated GroupRecall broadcast in recall group message
This commit is contained in:
parent
28249b317c
commit
7796fbf2d2
@ -278,16 +278,6 @@ internal open class MiraiImpl : IMirai, LowLevelApiAccessor {
|
||||
if (bot.id != source.fromId) {
|
||||
group.checkBotPermission(MemberPermission.ADMINISTRATOR)
|
||||
}
|
||||
@Suppress("INVISIBLE_REFERENCE", "INVISIBLE_MEMBER")
|
||||
MessageRecallEvent.GroupRecall(
|
||||
bot,
|
||||
source.fromId,
|
||||
source.ids,
|
||||
source.internalIds,
|
||||
source.time,
|
||||
null,
|
||||
group
|
||||
).broadcast()
|
||||
|
||||
network.run {
|
||||
PbMessageSvc.PbMsgWithDraw.createForGroupMessage(
|
||||
|
Loading…
Reference in New Issue
Block a user