Skip to content

Commit c3cb2a4

Browse files
committed
Set STARTING instead of RUNNING state for all bridgev2 bridges
1 parent 030a029 commit c3cb2a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/bbctl/register.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ func doRegisterBridge(ctx *cli.Context, bridge, bridgeType string, onlyGet bool)
108108
resp.Namespaces.UserIDs = resp.Namespaces.UserIDs[0:1]
109109

110110
state := status.StateRunning
111-
if bridge == "androidsms" || bridge == "imessagecloud" || bridge == "imessage" {
111+
if (bridgeType != "" && bridgeType != "heisenbridge") || bridge == "androidsms" || bridge == "imessagecloud" || bridge == "imessage" {
112112
state = status.StateStarting
113113
}
114114

0 commit comments

Comments
 (0)