Diff

mod_http_muc_log/http_muc_log.html @ 3716:3db27b8f1cb0

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.
author Kim Alvefur <zash@zash.se>
date Sun, 13 Oct 2019 16:24:16 +0200
parent 3715:f03a023cd523
child 3717:4c7d27542161
line wrap: on
line diff
--- 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>