koishi
koishi copied to clipboard
Bug: middleware处理时不应武断selfId === userId时返回
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