refactor: route chat and subtitle settings through runtime

This commit is contained in:
jxxghp
2026-08-23 03:17:40 +08:00
parent 55c80c87da
commit 061a92eab0
8 changed files with 24 additions and 17 deletions
+3 -1
View File
@@ -36,7 +36,9 @@ try:
except ImportError:
from telegramify_markdown.type import ContentTypes, File, Photo, Text # noqa: E402
from app.runtime.config import settings # noqa: E402
from app.runtime.settings import RuntimeSettingsCompat # noqa: E402
settings = RuntimeSettingsCompat()
from app.domain.context import MediaInfo, Context # noqa: E402
from app.domain.metainfo import MetaInfo # noqa: E402
from app.application.image import ImageHelper # noqa: E402