parsers: update for minidom API changes
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
40b92d64e2
commit
6308250c17
26 changed files with 140 additions and 190 deletions
|
|
@ -110,7 +110,7 @@ impl TryFrom<Element> for Actor {
|
|||
|
||||
impl From<Actor> for Element {
|
||||
fn from(actor: Actor) -> Element {
|
||||
let elem = Element::builder("actor").ns(ns::MUC_USER);
|
||||
let elem = Element::builder("actor", ns::MUC_USER);
|
||||
|
||||
(match actor {
|
||||
Actor::Jid(jid) => elem.attr("jid", jid),
|
||||
|
|
|
|||
Loading…
Reference in a new issue