fix name list errors
This commit is contained in:
parent
3f649b3062
commit
0cb678b848
2 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ import logging
|
||||||
import json
|
import json
|
||||||
import random
|
import random
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import Optional, Dict, Any, Union
|
from typing import Optional, Dict, Any, List, Union
|
||||||
import threading
|
import threading
|
||||||
import sys
|
import sys
|
||||||
from src.core.utils import parse_snowflake
|
from src.core.utils import parse_snowflake
|
||||||
|
|
|
||||||
|
|
@ -232,7 +232,7 @@ class MigrationState:
|
||||||
return None
|
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)."""
|
"""Returns the absolute minimum last_msg_id among the given list of mapped target IDs (channels and threads)."""
|
||||||
if self._ensure_db():
|
if self._ensure_db():
|
||||||
return self.db.get_global_min_last_message_id(all_mapped_ids)
|
return self.db.get_global_min_last_message_id(all_mapped_ids)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue