chore: update templates (backend v0.4.0 → v0.6.0, caddy v0.1.2 → v0.1.4, frontend v0.4.2 → v0.6.0, infra v0.5.0 → v0.6.0) #14
@@ -41,9 +41,7 @@ class ChatMetaCache:
|
||||
chat_id: int,
|
||||
meta: tuple[str | None, str | None],
|
||||
) -> bool:
|
||||
from userbot.modules.groups.repository import ( # noqa: PLC0415
|
||||
get_latest_chat_meta,
|
||||
)
|
||||
from userbot.modules.groups.repository import get_latest_chat_meta # noqa: PLC0415
|
||||
|
||||
if chat_id not in self._cache:
|
||||
self._cache[chat_id] = await get_latest_chat_meta(pool, account_id, chat_id)
|
||||
|
||||
Reference in new issue
Block a user