Skip to content

Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.

Point the message-deletion docstring at the file sweep that exists

Petr Bauchb28e81636210
diff --git a/core/switch_core/db/stores/message_store.py b/core/switch_core/db/stores/message_store.py
index 73fd7489e..a15b576b6 100644
--- a/core/switch_core/db/stores/message_store.py
+++ b/core/switch_core/db/stores/message_store.py
@@ -217,7 +217,7 @@ class MessageStore:
Each room's `seq_floor` is raised to the highest live position deleted
from it, in the same transaction, so `_next_seq` never reissues one.
The bytes behind the attachments are not touched: a blob may be quoted
- by a message that is kept, so `MediaStore.delete_unreferenced` finds
+ by a message that is kept, so `RetentionStore.delete_unreferenced_media` finds
the ones nothing points at any more.
"""
rows = (