view mod_muc_log_http/muc_log_http/themes/prosody/days_body.html @ 736:b031831b2ac0

mod_archive: Fix duplicate messages stored Message exchanged between users on the same server would be stored twice. This is because both the message hook and the pre-message hook would store for both users. The solution is to make sure the pre-message hook only store for the 'from' user, and the post message hook only store for the 'to' user.
author Olivier Goffart <ogoffart@woboq.com>
date Wed, 04 Jul 2012 13:58:31 +0200
parents 03e1dc036a28
children bdd3e3bfc219
line wrap: on
line source

<div id="title">
	<div id="date">###SINCE### - ###TO###</div>
	<div id="roomjid">###JID###</div>
	<div id="links">(join via <a class="component" href="xmpp:###JID###?join">client</a> / <a class="component" href="http://speeqe.com/room/###JID###/">speeqe</a>)</div>
</div>
<div id="calendar">
	<div id="navigation">
		<a class="nav" href="../###PREVIOUS_ROOM###/">&lt;</a>
		<a class="nav" href="../">^</a>
		<a class="nav" href="../###NEXT_ROOM###/">&gt;</a>
	</div>
	<div class="weekday">List of rooms for this component</div>
	<div id="roomList">###ROOMS###</div>
</div>
<div class="topic">###ROOMTOPIC###</div>
<div id="main">
###DAYS_STUFF###
</div>