Skip to content

fix(contextchat): use a consistent item id for indexed messages - #13443

Open
kesselb wants to merge 1 commit into
mainfrom
fix/context-chat-item-id
Open

fix(contextchat): use a consistent item id for indexed messages#13443
kesselb wants to merge 1 commit into
mainfrom
fix/context-chat-item-id

Conversation

@kesselb

@kesselb kesselb commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Content was indexed as "{mailboxId}:{messageId}" but deleted by bare IMAP uid, so deleting a message never removed it from the knowledge base. Key both sides off account, mailbox and uid via a shared helper.

  • Todo: Check with integration how to clear the existing data

馃 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@kesselb

kesselb commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

/backport to stable5.10

Content was indexed as "{mailboxId}:{messageId}" but deleted by bare
IMAP uid, so deleting a message never removed it from the knowledge
base. Key both sides off account, mailbox and uid via a shared helper.

Assisted-by: ClaudeCode:claude-opus-5
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>

# Conflicts:
#	lib/ContextChat/ContextChatProvider.php
@kesselb
kesselb force-pushed the fix/context-chat-item-id branch from d190fbe to 7fadd20 Compare August 9, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant