Superseded

data class Superseded(val by: PeerId) : LeaveReason

The same device came back under a new peer id, by, and took this member's held seat over (#3159). The old member's link was down: a seat whose member is connected is never superseded, so live tabs of one browser keep a seat each.

Every member present for the takeover sees one Left(old, Superseded(by)) followed by one Joined(by), and the new member keeps the old one's identity and device key. A member whose own link was down at the time hears neither: when it comes back, the host's admission burst names by, which it hears as Joined(by), and its roster rebuild later drops old with Unobserved, since it never saw the takeover. The superseded room itself, if it is still running, sees Left(self, Superseded(by)) and then ends: it never says Hello again, so two processes of one device cannot take a seat back and forth. A new process of the device that reuses the old id under the same key, while by holds the seat, ends the same way at its first Hello, before it was ever admitted.

Constructors

Link copied to clipboard
constructor(by: PeerId)

Properties

Link copied to clipboard
val by: PeerId