Commit 1b1cf63
Changed files (1)
src
history
src/history/utils.py
@@ -104,7 +104,7 @@ async def list_chat_ids(client: Client, message: Message):
for table_name in table_names:
if table_name.startswith("fts_"):
continue
- cid, ctitle = table_name.split("-")
+ cid, ctitle = table_name.split("-", maxsplit=1)
msg += f"`/history #{cid}`: {ctitle}\n"
await send2tg(client, message, texts=msg)