We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d70ea8 commit cb18868Copy full SHA for cb18868
1 file changed
models/hole.go
@@ -293,8 +293,7 @@ func (holes Holes) Preprocess(c *fiber.Ctx) error {
293
294
// for users in whitelist or whitelist is empty, AISummaryAvailable is true,
295
hole.AISummaryAvailable = config.Config.WhiteListUserIds == nil || slices.Contains(config.Config.WhiteListUserIds, uid)
296
-
297
- hole.AISummaryAvailable = !(hole.Locked || hole.Hidden || hole.Frozen)
+ hole.AISummaryAvailable = hole.AISummaryAvailable && !(hole.Locked || hole.Hidden || hole.Frozen)
298
for _, tag := range hole.Tags {
299
if len(tag.Name) > 0 && tag.Name[0] == '*' {
300
hole.AISummaryAvailable = false
0 commit comments