Optimize loading speed of chat

 Support new subscribe channel
This commit is contained in:
2025-03-01 18:32:31 +08:00
parent 289aa17a7a
commit e9ef28d764
5 changed files with 43 additions and 6 deletions

View File

@ -39,7 +39,7 @@ class WebSocketProvider extends ChangeNotifier {
Future<void> connect({noRetry = false}) async {
if (_connectCompleter != null) {
await _connectCompleter!.future;
_connectCompleter = null;
return;
}
if (!_ua.isAuthorized) return;