Skip to content

fix: prevent is_repost_then_chat from overriding AI-generated comments#485

Merged
shanmiteko merged 1 commit into
shanmiteko:mainfrom
Violiate:fix/ai-chat-conflict
Feb 24, 2026
Merged

fix: prevent is_repost_then_chat from overriding AI-generated comments#485
shanmiteko merged 1 commit into
shanmiteko:mainfrom
Violiate:fix/ai-chat-conflict

Conversation

@Violiate

Copy link
Copy Markdown
Contributor

When AI comments are enabled and successfully generated, the is_repost_then_chat option would overwrite the AI comment with relay_chat. This fix adds an isAiChat flag so that:

  • When AI comment exists: relay_chat is set to the AI comment instead
  • When no AI comment: original behavior (chat += relay_chat) is preserved

When AI comments are enabled and successfully generated, the
is_repost_then_chat option would overwrite the AI comment with
relay_chat. This fix adds an isAiChat flag so that:
- When AI comment exists: relay_chat is set to the AI comment instead
- When no AI comment: original behavior (chat += relay_chat) is preserved
@shanmiteko shanmiteko merged commit abe660b into shanmiteko:main Feb 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants