use only full color mode when sending messages. Simple color mode should never
be used in any part of the code except inside the input.
(cherry picked from commit 17e5411d8f
)
Conflicts:
src/tabs.py
This commit is contained in:
parent
4610a1d6e3
commit
52599f9b8c
1 changed files with 2 additions and 2 deletions
|
@ -321,7 +321,7 @@ class ChatTab(Tab):
|
|||
if not self.execute_command(clean_text):
|
||||
if txt.startswith('//'):
|
||||
txt = txt[1:]
|
||||
self.command_say(txt)
|
||||
self.command_say(xhtml.convert_simple_to_full_colors(txt))
|
||||
self.cancel_paused_delay()
|
||||
|
||||
def send_chat_state(self, state, always_send=False):
|
||||
|
@ -596,7 +596,7 @@ class MucTab(ChatTab):
|
|||
r = self.core.open_private_window(self.name, user.nick)
|
||||
if r and len(args) > 1:
|
||||
msg = arg[len(nick)+1:]
|
||||
self.core.current_tab().command_say(msg)
|
||||
self.core.current_tab().command_say(xhtml.convert_simple_to_full_colors(msg))
|
||||
if not r:
|
||||
self.core.information(_("Cannot find user: %s" % nick), 'Error')
|
||||
|
||||
|
|
Loading…
Reference in a new issue