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 #23728fix/verification-admin-route-recovery
parent
afa5b81918
commit
7c67097325
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue