mod_muc_webchat_url: Add hint of being an URL to form field
authorKim Alvefur <zash@zash.se>
Mon, 25 Oct 2021 16:48:06 +0200
changeset 4729 dcafddc31b1c
parent 4728 b125db92bac6
child 4730 611bc06c4160
mod_muc_webchat_url: Add hint of being an URL to form field
mod_muc_webchat_url/mod_muc_webchat_url.lua
--- a/mod_muc_webchat_url/mod_muc_webchat_url.lua	Mon Oct 25 16:47:44 2021 +0200
+++ b/mod_muc_webchat_url/mod_muc_webchat_url.lua	Mon Oct 25 16:48:06 2021 +0200
@@ -33,6 +33,7 @@
 		name = "muc#roomconfig_webchat_url",
 		type = "text-single",
 		label = "URL where this room can be joined",
+		datatype = "xs:anyURI",
 		value = get_webchat_url(room),
 	});
 end);