Skip to content

Commit

Permalink
Fix mistake in counting users
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Aug 4, 2021
1 parent 028a2d7 commit 37d8cbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mautrix/bridge/bridge.py
Expand Up @@ -165,7 +165,7 @@ async def start(self) -> None:
await super().start()
self.az.ready = True

if status_endpoint and await self.count_logged_in_users() > 0:
if status_endpoint and await self.count_logged_in_users() == 0:
state = BridgeState(state_event=BridgeStateEvent.UNCONFIGURED).fill()
await state.send(status_endpoint, self.az.as_token, self.log)

Expand Down

0 comments on commit 37d8cbc

Please sign in to comment.