From 9fdca492c407faf0fac28a45d90ac8d7505135ab Mon Sep 17 00:00:00 2001 From: Maple Date: Fri, 24 Apr 2026 23:32:47 +0200 Subject: [PATCH] yet another another attempt --- rnex-core/src/nex/matchmake.rs | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/rnex-core/src/nex/matchmake.rs b/rnex-core/src/nex/matchmake.rs index f449ddc..d5bdab4 100644 --- a/rnex-core/src/nex/matchmake.rs +++ b/rnex-core/src/nex/matchmake.rs @@ -246,13 +246,36 @@ impl ExtendedMatchmakeSession { pid_source: initiating_pid, notif_type: 3001, param_1: self.session.gathering.self_gid as PID, - param_2: other_conn.pid, + param_2: *pid, str_param: join_msg.clone(), param_3: self.connected_players.len() as _, }) .await; // } } + for other_connection in conns { + let Some(other_conn) = other_connection.upgrade() else { + continue; + }; + + for old_participant in &old_particip { + let Some(old_particip) = old_participant.upgrade() else { + continue; + }; + + other_conn + .remote + .process_notification_event(NotificationEvent { + pid_source: initiating_pid, + notif_type: 3001, + param_1: self.session.gathering.self_gid as PID, + param_2: old_particip.pid, + str_param: join_msg.clone(), + param_3: self.connected_players.len() as _, + }) + .await; + } + } for old_conns in &old_particip { let Some(old_conns) = old_conns.upgrade() else {