should fall back gracefully if CM does not support Message_Type_Action
Submitted by Simon McVittie
Link to original bug (#599415)
Description
16:05 < wjt>
does butterfly support Message_Type_Action?
16:05 < smcv>
wjt: it doesn't, Empathy tries anyway and gives me an error
16:06 < smcv>
does MSN have the concept of an action message?
16:06 < smcv>
arguably Empathy should turn (ACTION, "drinks heavily") into
(NORMAL, "*** drinks heavily") for protocols that can't do
actions properly
...
16:07 < wjt>
Maybe Empathy should send "/me laughs" as-is
...
16:08 < smcv>
having the UI be
16:08 < smcv>
*** drinks heavily
16:09 < smcv>
or even
16:09 < smcv>
/me drinks heavily
16:09 < smcv>
would be considerably better than just erroring!
...
16:11 < Zdra>
smcv, empathy does not uses Messages
16:11 < Zdra>
smcv, and does not try any caps
16:12 < Zdra>
smcv, we are using old Text iface ;)
16:12 < smcv>
Zdra: ok, so Empathy is also at fault, it should call
Text.GetMessageTypes(), and use the result for graceful fallback
16:12 < smcv>
Zdra: however, butterfly currently prevents that from working in
any case
In the case of Butterfly this is blocked by http://bugs.freedesktop.org/show_bug.cgi?id=24699.