xmpp: fixup stream thingy

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2024-06-18 20:20:28 +02:00
parent 37e94767e0
commit 10471bad63

View file

@ -72,7 +72,7 @@ impl Agent {
data: req.data, data: req.data,
response: tx, response: tx,
}; };
let _ = Ok::<(), Error>(self.cmdq.send(req).unwrap()); let _ = Ok::<(), io::Result<IqResponse>>(self.cmdq.send(req).unwrap());
Ok(rx.await.unwrap()?) Ok(rx.await.unwrap()?)
} }