@@ -722,7 +722,7 @@ def command_say(self, line):
722
722
# trigger the event BEFORE looking for colors.
723
723
# This lets a plugin insert \x19xxx} colors, that will
724
724
# be converted in xhtml.
725
- self .core .events .trigger ('muc_say' , msg )
725
+ self .core .events .trigger ('muc_say' , msg , self )
726
726
if msg ['body' ].find ('\x19 ' ) != - 1 :
727
727
msg ['xhtml_im' ] = xhtml .poezio_colors_to_html (msg ['body' ])
728
728
msg ['body' ] = xhtml .clean_text (msg ['body' ])
@@ -1217,7 +1217,7 @@ def command_say(self, line):
1217
1217
# trigger the event BEFORE looking for colors.
1218
1218
# This lets a plugin insert \x19xxx} colors, that will
1219
1219
# be converted in xhtml.
1220
- self .core .events .trigger ('private_say' , msg )
1220
+ self .core .events .trigger ('private_say' , msg , self )
1221
1221
self .core .add_message_to_text_buffer (self ._text_buffer , msg ['body' ], None , self .core .own_nick or self .own_nick )
1222
1222
if msg ['body' ].find ('\x19 ' ) != - 1 :
1223
1223
msg ['xhtml_im' ] = xhtml .poezio_colors_to_html (msg ['body' ])
@@ -1894,7 +1894,7 @@ def command_say(self, line):
1894
1894
# and before displaying the message in the window
1895
1895
# This lets a plugin insert \x19xxx} colors, that will
1896
1896
# be converted in xhtml.
1897
- self .core .events .trigger ('conversation_say' , msg )
1897
+ self .core .events .trigger ('conversation_say' , msg , self )
1898
1898
self .core .add_message_to_text_buffer (self ._text_buffer , msg ['body' ], None , self .core .own_nick )
1899
1899
if msg ['body' ].find ('\x19 ' ) != - 1 :
1900
1900
msg ['xhtml_im' ] = xhtml .poezio_colors_to_html (msg ['body' ])
0 commit comments