Browse Source

Fix deduplicating bridge states

Tulir Asokan 3 years ago
parent
commit
dd2919fbdb
1 changed files with 1 additions and 0 deletions
  1. 1 0
      bridgestate.go

+ 1 - 0
bridgestate.go

@@ -189,6 +189,7 @@ func (user *User) immediateSendBridgeState(state BridgeState) {
 				retryIn = 64
 			}
 		} else {
+			user.prevBridgeStatus = &state
 			user.log.Debugfln("Sent new bridge state %+v", state)
 			return
 		}