[Bug 24756] New: do something clever with (NORMAL, "/me is the command to send actions")

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Oct 27 15:14:56 CET 2009


http://bugs.freedesktop.org/show_bug.cgi?id=24756

           Summary: do something clever with (NORMAL, "/me is the command to
                    send actions")
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: lowest
         Component: gabble
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: simon.mcvittie at collabora.co.uk


"/say" is unimplementable in XMPP, because there's no way to escape /me at the
beginning of a message - Gabble sends <body>/me is used to send actions</> and
there's no way for the recipient to tell that /me was meant to be literal text.

The long-term solution is to get round to writing a XEP for /me, with something
like:

(ACTION, "does stuff") -> <body action="true">/me does stuff</>
(NORMAL, "/me is the command to send actions") -> <body action="false">/me is
the command to send actions</>
(NORMAL, "lalala") -> <body>lalala</>

One possible short-term hack would be to prepend a zero-width space to the
message text for non-ACTION messages that start with "/me "...


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



More information about the telepathy-bugs mailing list