We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e536dea commit 7699a1eCopy full SHA for 7699a1e
protocols/identify/src/handler.rs
@@ -187,6 +187,10 @@ impl Handler {
187
) {
188
match output {
189
future::Either::Left(remote_info) => {
190
+ self.events
191
+ .push(ConnectionHandlerEvent::ReportRemoteProtocols {
192
+ protocols: remote_info.protocols.clone(),
193
+ });
194
self.events
195
.push(ConnectionHandlerEvent::Custom(Event::Identified(
196
remote_info,
@@ -307,6 +311,10 @@ impl ConnectionHandler for Handler {
307
311
self.inbound_identify_push.take();
308
312
309
313
if let Ok(info) = res {
314
315
316
+ protocols: info.protocols.clone(),
317
310
318
return Poll::Ready(ConnectionHandlerEvent::Custom(Event::Identified(info)));
319
}
320
0 commit comments