Fix GroupAllowConfessTalkEvent; fix #1622

This commit is contained in:
Karlatemp 2021-10-26 22:53:51 +08:00 committed by GitHub
parent ffbe50c1fb
commit d0171878ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -277,7 +277,14 @@ internal class GroupNotificationProcessor(
return
}
}
collect(GroupAllowConfessTalkEvent(new, !new, group, false))
collect(
GroupAllowConfessTalkEvent(
origin = !new,
new = new,
group = group,
isByBot = false
)
)
//群特殊头衔授予
} else if (message.endsWith(">头衔")) {
message.parseToMessageDataList().let { seq ->