fix(line): use build_source instead of nonexistent create_source

The LINE adapter calls self.create_source(...) which raises
AttributeError on every inbound message — no such method exists.
The base PlatformAdapter exposes this factory as build_source(),
consistent with the IRC and Teams adapters.

Fixes #23728
This commit is contained in:
mizgyo 2026-05-12 18:46:49 -07:00 committed by Teknium
parent afa5b81918
commit 7c67097325

View file

@ -959,7 +959,7 @@ class LineAdapter(BasePlatformAdapter):
if chat_type == "dm" and self._client:
asyncio.create_task(self._client.loading(chat_id))
source_obj = self.create_source(
source_obj = self.build_source(
chat_id=chat_id,
chat_type=chat_type,
user_id=user_id,