We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64d2f5c commit 4b0a05dCopy full SHA for 4b0a05d
1 file changed
backend/src/database/repositories/memberRepository.ts
@@ -122,7 +122,9 @@ class MemberRepository {
122
if (!data.attributes) {
123
data.attributes = {}
124
}
125
- data.attributes.isBot = { ...existingIsBot, default: true, system: true }
+ // When bot detection confirms a bot, set system flag and don't preserve custom flag
126
+ // Custom flag should only be set when user manually marks as bot, not when system detects it
127
+ data.attributes.isBot = { default: true, system: true }
128
129
130
0 commit comments