changeset 3686:2573d143621f

mod_muc_media_metadata: Update namespace
author Matthew Wild <mwild1@gmail.com>
date Sun, 29 Sep 2019 18:31:52 +0100
parents 26dc8320b81b
children c40422cca3b7
files mod_muc_media_metadata/README.markdown mod_muc_media_metadata/mod_muc_media_metadata.lua
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mod_muc_media_metadata/README.markdown	Sun Sep 29 18:31:14 2019 +0100
+++ b/mod_muc_media_metadata/README.markdown	Sun Sep 29 18:31:52 2019 +0100
@@ -28,7 +28,7 @@
   <body>https://matthewwild.co.uk/share.php/70334772-ff74-439b-8173-a71e40ca28db/mam-flow.png</body>
   <x xmlns="jabber:x:oob">
     <url>https://matthewwild.co.uk/share.php/70334772-ff74-439b-8173-a71e40ca28db/mam-flow.png</url>
-    <metadata xmlns="https://prosody.im/protocol/media-metadata#0">
+    <metadata xmlns="xmpp:prosody.im/protocol/media-metadata#0">
       <bytes>15690</bytes>
       <type>image/png</type>
       <blurhash>LEHV6nWB2yk8pyo0adR*.7kCMdnj</blurhash>
--- a/mod_muc_media_metadata/mod_muc_media_metadata.lua	Sun Sep 29 18:31:14 2019 +0100
+++ b/mod_muc_media_metadata/mod_muc_media_metadata.lua	Sun Sep 29 18:31:52 2019 +0100
@@ -3,7 +3,7 @@
 local http = require "net.http";
 local st = require "util.stanza";
 
-local xmlns_metadata = "https://prosody.im/protocol/media-metadata#0"
+local xmlns_metadata = "xmpp:prosody.im/protocol/media-metadata#0"
 
 local fetch_headers = {
 	bytes = "content-length";