[Pidgin] #15750: IRC ACTIONs skip sending-im-msg signal.

Pidgin trac at pidgin.im
Wed Oct 2 15:43:14 EDT 2013


#15750: IRC ACTIONs skip sending-im-msg signal.
-------------------------+------------------
 Reporter:  xnyhps       |       Owner:  elb
     Type:  patch        |      Status:  new
Milestone:  2.10.8       |   Component:  IRC
  Version:  2.10.7       |  Resolution:
 Keywords:  irc otr /me  |
-------------------------+------------------

Comment (by xnyhps):

 Replying to [comment:12 T(A)ILS developers]:
 > Replying to [comment:9 xnyhps]:
 > > I'll update the patch to use this approach in the next couple of days.
 >
 > Great! Any news?


 Sorry, some other stuff came up. I've attached the updated patch.

 I think this is a cleaner solution because it makes the `sending-im-msg`
 have the same semantics for all protocols: it is prefixed with `/me ` when
 it is an action. This makes it possible for plugins to do something to
 turn it into a non-action: if the result from the signal is a string that
 doesn't start with `/me `, it is sent as a normal message, otherwise it is
 is sent as an action.

 This means that Pidgin patched with this patch should always encrypt
 actions as "/me does something", which means they also show up correctly
 in Pidgin (without patching Pidgin-OTR).

-- 
Ticket URL: <https://developer.pidgin.im/ticket/15750#comment:13>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list