koishi icon indicating copy to clipboard operation
koishi copied to clipboard

Bug: middleware处理时不应武断selfId === userId时返回

Open garveen opened this issue 9 months ago • 6 comments

Describe the bug

在别的客户端发送消息时,该消息无法被koishi插件处理,这是不应该的

Steps to reproduce

https://github.com/koishijs/koishi/blob/e496ddb884fddd3d7194ac28fc28b1fdc375b6e3/packages/core/src/middleware.ts#L238

Expected behavior

这个判断删了,或者加个开关

Screenshots

No response

Versions

平台无关

Additional context

No response

garveen avatar May 24 '24 05:05 garveen