Use 'primary' for MSN terminology instead of 'leader'

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2022-12-25 00:40:14 +01:00
parent b0fe077449
commit 38838991c0
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -91,7 +91,7 @@ impl Occupant {
for (i, session) in self.sessions.iter().enumerate() { for (i, session) in self.sessions.iter().enumerate() {
if &own_session == session { if &own_session == session {
if i == 0 { if i == 0 {
// Leader session // Primary session
self.sessions[0] = own_session; self.sessions[0] = own_session;
return Ok(()); return Ok(());
} }