Carve out some dead code

This commit is contained in:
Jack Kingsman
2026-02-24 18:40:35 -08:00
parent f7f696bf10
commit b1a0456a05
6 changed files with 3 additions and 143 deletions
-7
View File
@@ -618,13 +618,6 @@ class MessageRepository:
row = await cursor.fetchone()
return row["acked"] if row else 1
@staticmethod
async def get_ack_count(message_id: int) -> int:
"""Get the current ack count for a message."""
cursor = await db.conn.execute("SELECT acked FROM messages WHERE id = ?", (message_id,))
row = await cursor.fetchone()
return row["acked"] if row else 0
@staticmethod
async def get_ack_and_paths(message_id: int) -> tuple[int, list[MessagePath] | None]:
"""Get the current ack count and paths for a message."""