fix(snownet): notify remote of invalidated relay candidate (#5303)

When migrating to new relays, we need to notify the remote of our
invalidated relay candidates and not just invalidate them locally.

Related: #5283.
This commit is contained in:
Thomas Eizinger
2024-06-11 09:32:29 +10:00
committed by GitHub
parent 5b065d3e4c
commit 96ced27e5a

View File

@@ -514,7 +514,7 @@ where
.current_candidates()
.filter(|c| c.kind() == CandidateKind::Relayed)
{
agent.invalidate_candidate(&candidate);
remove_local_candidate(id, agent, &candidate, &mut self.pending_events);
}
}
}