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

Pidgin trac at pidgin.im
Thu Sep 12 10:53:31 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  |
-------------------------+------------------
Changes (by datallah):

 * milestone:   => 2.10.8


Old description:

> For most protocols {{{/me}}} gets sent raw, but is displayed differently.
> For IRC, it is also sent differently. Because {{{/me}}} is interpreted
> as a command, it bypasses all normal message logic, including the
> "sending-im-msg" signal. This implies that, for instance, OTR does not
> get a chance to encrypt the message and it is sent in plain.
>
> Because this is undesirable when using OTR, the "sending-im-msg" signal
> should fire. Attached patch implements this.
>
> Note that it encrypts "\001ACTION " part too, to be compatible with other
> IRC clients with OTR support. I'm not sure this is desirable for all
> plugins that look for the "sending-im-msg" signal.

New description:

 For most protocols {{{/me}}} gets sent raw, but is displayed differently.
 For IRC, it is also sent differently. Because {{{/me}}} is interpreted as
 a command, it bypasses all normal message logic, including the "sending-
 im-msg" signal. This implies that, for instance, OTR does not get a chance
 to encrypt the message and it is sent in plain.

 Because this is undesirable when using OTR, the "sending-im-msg" signal
 should fire. Attached patch implements this.

 Note that it encrypts "\001ACTION " part too, to be compatible with other
 IRC clients with OTR support. I'm not sure this is desirable for all
 plugins that look for the "sending-im-msg" signal.

--

Comment:

 We should evaluate this for the next release.

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


More information about the Tracker mailing list