Commit 6c255161 authored by Him188's avatar Him188

Fix permission detection on recalling self-sent message

parent 366de98a
......@@ -199,7 +199,9 @@ internal abstract class QQAndroidBotBase constructor(
is MessageSourceFromGroupImpl -> source.group
else -> error("stub")
}
group.checkBotPermissionOperator()
if (this.id != source.fromId) {
group.checkBotPermissionOperator()
}
MessageRecallEvent.GroupRecall(
this,
source.fromId,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment