mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
Fix the name in create_empty_element.
This commit is contained in:
parent
7fa889f46e
commit
b5e41a7074
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ macro_rules! generate_empty_element {
|
|||
|
||||
impl From<$elem> for Element {
|
||||
fn from(_: $elem) -> Element {
|
||||
Element::builder("attention")
|
||||
Element::builder($name)
|
||||
.ns($ns)
|
||||
.build()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue