Sfoglia il codice sorgente

Fix deduplicating bridge states

Tulir Asokan 3 anni fa
parent
commit
dd2919fbdb
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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
 		}