Include redaction logic:

- redact command to remove messages from a user in a room
- option to redact messages from a user in all space rooms when banned
This commit is contained in:
William Kray
2025-03-31 15:25:00 -07:00
parent 6001f5bf1a
commit 034446f28c
4 changed files with 123 additions and 7 deletions
+9
View File
@@ -13,3 +13,12 @@ async def upgrade_v1(conn: Connection) -> None:
ignore_inactivity INT
)"""
)
@upgrade_table.register(description="Include message redaction tracking")
async def upgrade_v2(conn: Connection) -> None:
await conn.execute(
"""CREATE TABLE redaction_tasks (
event_id TEXT PRIMARY KEY,
room_id TEXT NOT NULL
)"""
)