media_element: Import the namespace from ns.

Emmanuel Gil Peyrot created

Change summary

src/media_element.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

src/media_element.rs 🔗

@@ -2,7 +2,7 @@ use minidom::Element;
 
 use error::Error;
 
-const MEDIA_ELEMENT_NS: &'static str = "urn:xmpp:media-element";
+use ns::MEDIA_ELEMENT_NS;
 
 #[derive(Debug)]
 pub struct URI {