Bug 78093

Summary: Implement sharing a conversation between multiple devices using XEP-0280 - Message Carbons
Product: Telepathy Reporter: Fabian Henze <flyser42>
Component: gabbleAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED MOVED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: enhancement    
Priority: medium CC: accounts+bugs.freedesktop.org, daniel.scharon, devurandom, diane, eseifert, flyser42, freedesktop.org, linux, marzanna, nasenbaer8912, nickbroon, nthn, paradoxe, sam, scott, stevenroose, suraia
Version: unspecified   
Hardware: Other   
OS: All   
URL: http://xmpp.org/extensions/xep-0280.html
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 96921    
Attachments: Add support for XEP-0280: Message Carbons
Add a connection parameter to enable / disable message carbons

Description Fabian Henze 2014-04-29 19:56:45 UTC
"This XEP defines an approach for ensuring that all of my devices get both sides of all conversations in order to avoid user confusion. As a pleasant side-effect, information about the current state of a conversation is shared between all of a user's clients that implement this protocol."

This is allows seamless switching between mobile and desktop clients during a conversation. Would be cool if telepathy-gabble would support it.
Comment 1 Steven Roose 2015-06-04 02:07:39 UTC
Did anyone even see this after one year?
Comment 2 Michael Kuhn 2015-11-08 20:58:23 UTC
Created attachment 119487 [details] [review]
Add support for XEP-0280: Message Carbons

The attached patch adds support for message carbons (XEP-0280).

Since this is my first contact with the Telepathy code base, I am not sure whether this is the best way to implement it. It seems to work fine on my local machine, at least.

It would be great to get some feedback so I can improve it if necessary.
Comment 3 diane 2016-01-12 19:50:08 UTC
I'd love to see this in telepathy-gabble.

I'm currently reviewing bug 46700 (XEP-0198 support), which will take a while, but I'd hope to work on this bug after that.
Comment 4 Ferdinand Stehle 2016-01-28 17:59:42 UTC
There are some issues regarding injection of "sent" messages. Some clients use the messages sender attribute and not the channels target to assign messages to the contacts. 
Thereby, the sent messages will be shown as received by a contact with our own id.

This issue affects at least telepathy-logger and results in an incorrect history, as all forwarded "sent" messages are handled as received by a single contact.

Obviously this is a defect in logger, but it has to be fixed before this patch gets merged.
Comment 5 Ferdinand Stehle 2016-02-07 00:28:24 UTC
I filed a bug for logger: https://bugs.freedesktop.org/show_bug.cgi?id=94030
Comment 6 Ferdinand Stehle 2016-02-16 14:32:38 UTC
Maybe we should consider to add an account configuration option to enable / disable message carbons?
Comment 7 Ferdinand Stehle 2016-05-04 22:04:30 UTC
Created attachment 123473 [details] [review]
Add a connection parameter to enable / disable message carbons
Comment 8 GitLab Migration User 2019-12-03 20:01:01 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-gabble/issues/274.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.