Commit 4edf690e authored by Maxime Buquet's avatar Maxime Buquet

Revert "Revert "tabs/privatetab: Fixes #3491: Add MUC <x/> marker in MUC-PMs. Thanks Ge0rG.""

This reverts commit e9a6ea7a.
parent 880f024c
......@@ -13,6 +13,7 @@ the ConversationTab (such as tab-completion on nicks from the room).
import curses
import logging
from typing import Dict, Callable
from xml.etree import cElementTree as ET
from slixmpp import JID
......@@ -152,6 +153,8 @@ class PrivateTab(OneToOneTab):
msg['type'] = 'chat'
msg['body'] = line
x = ET.Element('{}x')
# trigger the event BEFORE looking for colors.
# This lets a plugin insert \x19xxx} colors, that will
# be converted in xhtml.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment