From 5da9900ccc1e4313e488ec370b61bb945dbe4e18 Mon Sep 17 00:00:00 2001 From: Guillermo Serrahima Date: Mon, 2 Feb 2026 15:26:43 +0100 Subject: Fix all chats --- velascobot2/parrot.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'velascobot2/parrot.py') diff --git a/velascobot2/parrot.py b/velascobot2/parrot.py index 9ca139a..02e5495 100644 --- a/velascobot2/parrot.py +++ b/velascobot2/parrot.py @@ -133,3 +133,7 @@ class Parrot: def update_chat_set_silenced(self, chat_id: str, silenced: bool): self.db.update_chat_set_silenced(chat_id, silenced) + + # I made an oopsie when converting the old jsons to sqlite. I will remove this in the next commit + def fix_all_chats(self): + self.db.fix_all_chats() -- cgit v1.2.3