view mod_muc_log_http/muc_log_http/themes/prosody/day_body.html @ 5170:4d6af8950016

mod_muc_moderation: Derive role from reserved nickname if occupant When using a different client to moderate than the one used to participate in the chat, e.g. a command line tool like clix, there's no occupant and no role to use in the permission check. Previously the default role based on affiliation was used. Now if you are present in the room using your reserved nick, the role you have there is used in the permission check instead of the default affiliation-derived role.
author Kim Alvefur <zash@zash.se>
date Sun, 19 Feb 2023 18:17:37 +0100
parents bdd3e3bfc219
children
line wrap: on
line source

<div id="title">
	<div id="date">###DATE###</div>
	<div id="roomjid">###JID###</div>
	<div id="links">(join via <a class="component" href="xmpp:###JID###?join">client</a>)</div>
</div>
<div id="calendar">
	<div id="navigation">
		###PREVIOUS_LINK### <a class="nav" href="../">^</a>###NEXT_LINK###
	</div>
	###CALENDAR###
</div>
<div id="topic">###TITLE_STUFF###</div>
<br />
<input id="toggleJoinLeave" type="checkbox" onclick="showHide('muc_joinLeave_container')" ###JOIN_CHECKED###/><label for="toggleJoinLeave">show/hide joins and leaves</label>
<input id="toggleStatus" type="checkbox" onclick="showHide('muc_statusChange_container')" ###STATUS_CHECKED###/><label for="toggleStatus">show/hide status changes</label>
<input id="toggleUTC" type="checkbox" onclick="changeTimeDisplay()" /><label for="toggleUTC">show time in local time, rather than in UTC</label>
<div id="main">###DAY_STUFF###</div>