Changeset

4725:dcafddc31b1c

mod_muc_webchat_url: Add hint of being an URL to form field
author Kim Alvefur <zash@zash.se>
date Mon, 25 Oct 2021 16:48:06 +0200
parents 4724:b125db92bac6
children 4726:611bc06c4160
files mod_muc_webchat_url/mod_muc_webchat_url.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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);