[Bug 32607] Message tokens, sent timestamps for SIP message channels

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jan 3 14:06:46 CET 2011


https://bugs.freedesktop.org/show_bug.cgi?id=32607

Simon McVittie <simon.mcvittie at collabora.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
  Status Whiteboard|                            |review-, minor changes

--- Comment #1 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2011-01-03 05:06:46 PST ---
> +    assert now - 10 < msg[0]['message-received'] < now + 10
> +    assert now - 10 < msg[0]['message-sent'] < now + 10

I can see that this is the best you can do for message-received, but for
message-sent, I'd prefer to hard-code a target value in the past here...

> +    msg.addHeader('date', time.strftime("%a, %d %b %Y %H:%M:%S GMT", time.gmtime()))

... and use a corresponding date here.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the telepathy-bugs mailing list