[Bug 41417] New: Support Facebook's own-message extension

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 3 16:18:50 CEST 2011


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

           Summary: Support Facebook's own-message extension
           Product: Telepathy
           Version: git master
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: low
         Component: gabble
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: will.thompson at collabora.co.uk
         QAContact: telepathy-bugs at lists.freedesktop.org


Today, while reading logs on an unrelated bug, I noticed that Facebook pushes
messages that the user sends via another client (such as the web interface) out
to connected XMPP sessions. Here's an example. I sent a message—“please ignore
this message”—to a contact (whose user ID I have redacted) using the web
interface, while connected using Gabble. Gabble received this stanza:

_end_element_ns: Received stanza
* iq xmlns='jabber:client' from='chat.facebook.com'
to='will.joseph.thompson at chat.facebook.com/b756e715_3fcfe842_4AE62CA0B8312'
id='fbiq4AE6571A03651' type='set'
    * own-message xmlns='http://www.facebook.com/xmpp/messages'
to='-<redacted>@chat.facebook.com' self='false'
        * body
            "please ignore this message"

Observations:

• the IQ comes from the server;
• the recipient of the message is an attribute of the payload;
• when I sent a message using Gabble, it was pushed straight back to Gabble in
the same format, but with self='true'.

We could potentially expose these in a number of ways:

• As normal messages, annotated as 'scrollback';
• As delivery reports;
• On a to-be-defined API for retrieving logs.

-- 
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