Persist disconnected IM channel state

This commit is contained in:
taohe
2026-06-11 22:46:03 +08:00
parent f3264ea5a9
commit e0cb0df5da
4 changed files with 133 additions and 2 deletions
@@ -547,7 +547,7 @@ async def disconnect_channel_provider_runtime(provider: str, request: Request) -
owner_user_id=owner_user_id,
)
_get_runtime_config_store(request).remove_provider_config(provider)
_get_runtime_config_store(request).set_provider_disconnected(provider)
channels_config = _load_channels_config(request, config)
request.app.state.channels_config = channels_config