Software /
code /
prosody-modules
Changeset
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 |
parents | 3715:f03a023cd523 |
children | 3717:4c7d27542161 |
files | mod_http_muc_log/http_muc_log.html |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
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>