datetime bugs

git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@1389 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Peter Saint-Andre 2007-11-19 17:55:53 +00:00
parent f9270c317d
commit 32380067c6
1 changed files with 5 additions and 5 deletions

View File

@ -1664,7 +1664,7 @@
from='hag66@shakespeare.lit/pda'
to='darkcave@macbeth.shakespeare.lit/thirdwitch'>
<x xmlns='http://jabber.org/protocol/muc'>
<history since='1970-01-01T00:00Z'/>
<history since='1970-01-01T00:00:00Z'/>
</x>
</presence>
]]></example>
@ -1975,7 +1975,7 @@
<body>Thrice the brinded cat hath mew'd.</body>
<delay xmlns='urn:xmpp:delay'
from='crone1@shakespeare.lit/desktop'
stamp='20040929T01:54:37Z'/>
stamp='2004-09-29T01:54:37Z'/>
</message>
<message
@ -1985,7 +1985,7 @@
<body>Thrice and once the hedge-pig whined.</body>
<delay xmlns='urn:xmpp:delay'
from='wiccarocks@shakespeare.lit/laptop'
stamp='20040929T01:55:21Z'/>
stamp='2004-09-29T01:55:21Z'/>
</message>
]]></example>
<p>Note: Use of the <cite>Delayed Delivery</cite> protocol enables the room creator to specify the datetime of each message from the one-to-one chat history (via the 'stamp' attribute), as well as the JID of the original sender of each message (via the 'from' attribute). The room creator SHOULD send the complete one-to-one chat history before inviting additional users to the room, and SHOULD also send as history any messages appearing in the one-to-one chat interface after joining the room and before the second person joins the room; if the one-to-one history is especially large, the sending client may want to send the history over a few seconds rather than all at once (to avoid triggering rate limits). The service SHOULD NOT add its own delay elements (as described in the <link url='#enter-history'>Discussion History</link> section of this document) to prior chat history messages received from the room owner.</p>
@ -2061,7 +2061,7 @@
<body>Thrice the brinded cat hath mew'd.</body>
<delay xmlns='urn:xmpp:delay'
from='crone1@shakespeare.lit/desktop'
stamp='20040929T01:54:37Z'/>
stamp='2004-09-29T01:54:37Z'/>
</message>
<message
@ -2071,7 +2071,7 @@
<body>Thrice and once the hedge-pig whined.</body>
<delay xmlns='urn:xmpp:delay'
from='wiccarocks@shakespeare.lit/laptop'
stamp='20040929T01:55:21Z'/>
stamp='2004-09-29T01:55:21Z'/>
</message>
]]></example>
<p>Note: The fact that the messages come from the &ROOM; itself rather than &ROOMJID; is a clue to the receiving client that these messages are prior chat history, since any message from a room occupant will have a 'from' address equal to the sender's room JID.</p>