diff --git a/plugin/adapter.py b/plugin/adapter.py index 302cac6..e5243dc 100644 --- a/plugin/adapter.py +++ b/plugin/adapter.py @@ -1120,6 +1120,10 @@ class RocketChatAdapter(BasePlatformAdapter): to prevent race condition with gateway_state.json. """ if self.ddp: + # B3: Bewusst sync — first status after connect does not need + # await-confirmation. PulseController takes over with + # set_status_async on the next tick (1.5s). This avoids a + # 2s-await-wait during the critical connect path. self.ddp.set_status("online") # V8.6: PulseController DDP-Bindung nach Connect (EC-1) if hasattr(self, '_presence_engine') and self._presence_engine is not None: