We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4434a61 commit c22e4b5Copy full SHA for c22e4b5
1 file changed
plugin/aichat/main.go
@@ -82,7 +82,7 @@ func init() {
82
}
83
ctx.State["__aichat_stor__"] = stor
84
return ctx.ExtractPlainText() != "" &&
85
- (bool(!stor.noreplyat()) || (bool(stor.noreplyat()) && !ctx.Event.IsToMe))
+ (!stor.noreplyat() || (stor.noreplyat() && !ctx.Event.IsToMe))
86
}).SetBlock(false).Handle(func(ctx *zero.Ctx) {
87
gid := ctx.Event.GroupID
88
if gid == 0 {
0 commit comments