[telepathy] [Bug 312603] Chat starting time should be when the first message was received

David Edmundson kde at davidedmundson.co.uk
Tue Jan 22 01:30:37 GMT 2013


https://bugs.kde.org/show_bug.cgi?id=312603

David Edmundson <kde at davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kde at davidedmundson.co.uk

--- Comment #2 from David Edmundson <kde at davidedmundson.co.uk> ---
We need to change:

    info.setTimeOpened(QDateTime::currentDateTime());

in the constructor 
To solve this I would look at d->channel's message queue
(http://telepathy.freedesktop.org/doc/telepathy-qt/a00408.html#a4a0acad4523d9278a654888468219dff)
when we start.

If it contains a message, extract the time from the first message, and use
that. Otherwise use current time like we do now.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kde-telepathy-bugs mailing list