mod_http_muc_log: Add button-link to webchat URL if one is set via mod_muc_webchat_url
This has been hacked in manually in a few deployments.
--- a/mod_http_muc_log/http_muc_log.html Sun Oct 13 16:16:14 2019 +0200
+++ b/mod_http_muc_log/http_muc_log.html Sun Oct 13 16:24:16 2019 +0200
@@ -52,6 +52,9 @@
{jid_node&
<li class="button"><a href="xmpp:{jid?}?join">Join using a client</a></li>
}
+{room.webchat_url&
+<li class="button"><a href="{room.webchat_url}">Join via web</a></li>
+}
{links#
<li><a class="{item.rel?}" href="{item.href}{hide_presence&?p=h}" rel="{item.rel?}">{item.text}</a></li>}
</ul>