[Bug 35886] New: Add support for text edits

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Apr 1 22:38:42 CEST 2011


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

           Summary: Add support for text edits
           Product: Telepathy
           Version: git master
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: logger
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: nicolas.dufresne at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org


With some protocol (e.g. XMPP and Skype) it is possible to edit a message.
Those message are identified in Telepathy with the 'supersedes' message key.
This key contains the message-token of the message being superseded.

>From the XML log store point of view, we could store all the superseding
messages into a separate file in the same day as the original message. When
parsing messages, we could first load all the superseding messages into a hash
table that would be used to match with the original messages. If there is
multiple superseding messages, only the latest is important as this is what we
want to give back to the client.

Also, TextEvent will need to internally store the message-token, and publicly
provide flag (boolean ?) to tell it has been edited/superseded. Base on demand,
it should be simple to provide all the message versions.

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



More information about the telepathy-bugs mailing list