fix name list errors

This commit is contained in:
rambros3d 2026-03-30 01:38:12 +05:30
parent 3f649b3062
commit 0cb678b848
2 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@ import logging
import json
import random
from pathlib import Path
from typing import Optional, Dict, Any, Union
from typing import Optional, Dict, Any, List, Union
import threading
import sys
from src.core.utils import parse_snowflake

View file

@ -232,7 +232,7 @@ class MigrationState:
return None
def get_global_min_last_message_id(self, all_mapped_ids: List[str]) -> int | None:
def get_global_min_last_message_id(self, all_mapped_ids: list[str]) -> int | None:
"""Returns the absolute minimum last_msg_id among the given list of mapped target IDs (channels and threads)."""
if self._ensure_db():
return self.db.get_global_min_last_message_id(all_mapped_ids)