changeset 3675:776ff0875e35

mod_muc_webchat_url: Fix default url Function split gone wrong
author Kim Alvefur <zash@zash.se>
date Tue, 17 Sep 2019 17:36:20 +0200
parents 8ee5816363b0
children 957e87067231
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	Tue Sep 17 17:31:18 2019 +0200
+++ b/mod_muc_webchat_url/mod_muc_webchat_url.lua	Tue Sep 17 17:36:20 2019 +0200
@@ -24,6 +24,7 @@
 	if webchat_url then -- explicitly configured
 		return webchat_url;
 	end
+	return get_default_url(room);
 end
 
 module:hook("muc-config-form", function(event)