Add DB entry for outgoing inside the radio lock (didn't we just do the opposite?)

This commit is contained in:
Jack Kingsman
2026-03-19 20:43:35 -07:00
parent c2655c1809
commit 2b80760696
4 changed files with 170 additions and 54 deletions
+6
View File
@@ -554,6 +554,12 @@ class MessageRepository:
return MessageRepository._row_to_message(row)
@staticmethod
async def delete_by_id(message_id: int) -> None:
"""Delete a message row by ID."""
await db.conn.execute("DELETE FROM messages WHERE id = ?", (message_id,))
await db.conn.commit()
@staticmethod
async def get_by_content(
msg_type: str,