Diff

mod_muc_webchat_url/mod_muc_webchat_url.lua @ 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
parent 3673:11ebf1da416b
child 4725:dcafddc31b1c
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)