fix(stanza): FromElement for Bind namespace check

This commit is contained in:
cel 🌸 2025-02-26 19:17:21 +00:00
parent ead1b25803
commit 6b44ac8ea4
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ pub struct Bind {
impl FromElement for Bind {
fn from_element(mut element: peanuts::Element) -> peanuts::element::DeserializeResult<Self> {
element.check_name("bind")?;
element.check_name(XMLNS)?;
element.check_namespace(XMLNS)?;
let r#type = element.pop_child_opt()?;