Bug 78093 - Implement sharing a conversation between multiple devices using XEP-0280 - Message Carbons
Summary: Implement sharing a conversation between multiple devices using XEP-0280 - Me...
Status: NEW
Alias: None
Product: Telepathy
Classification: Unclassified
Component: gabble (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL: http://xmpp.org/extensions/xep-0280.html
Whiteboard:
Keywords:
Depends on:
Blocks: 96921
  Show dependency treegraph
 
Reported: 2014-04-29 19:56 UTC by Fabian Henze
Modified: 2017-07-29 19:35 UTC (History)
17 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Add support for XEP-0280: Message Carbons (24.23 KB, patch)
2015-11-08 20:58 UTC, Michael Kuhn
Details | Splinter Review
Add a connection parameter to enable / disable message carbons (3.12 KB, patch)
2016-05-04 22:04 UTC, Ferdinand Stehle
Details | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct.