summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2019-09-10 17:52:53 +0200
committerMaxime “pep” Buquet <pep@bouah.net>2019-09-10 17:53:08 +0200
commite9a6ea7a59b0bf08c4f649ce125cb5dae12e1e63 (patch)
treec3b4cdb3a215c8c64324b14140ce831e2e9b5f72
parent0bf8727a92b5e2891398d6f3ee7a3669213734ea (diff)
downloadpoezio-e9a6ea7a59b0bf08c4f649ce125cb5dae12e1e63.tar.gz
poezio-e9a6ea7a59b0bf08c4f649ce125cb5dae12e1e63.tar.bz2
poezio-e9a6ea7a59b0bf08c4f649ce125cb5dae12e1e63.tar.xz
poezio-e9a6ea7a59b0bf08c4f649ce125cb5dae12e1e63.zip
Revert "tabs/privatetab: Fixes #3491: Add MUC <x/> marker in MUC-PMs. Thanks Ge0rG."
This reverts commit 0bf8727a92b5e2891398d6f3ee7a3669213734ea. It doesn't actually work yet. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--poezio/tabs/privatetab.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/poezio/tabs/privatetab.py b/poezio/tabs/privatetab.py
index e5ee770e..8d2c1b11 100644
--- a/poezio/tabs/privatetab.py
+++ b/poezio/tabs/privatetab.py
@@ -13,7 +13,6 @@ 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
@@ -153,8 +152,6 @@ class PrivateTab(OneToOneTab):
)
msg['type'] = 'chat'
msg['body'] = line
- x = ET.Element('{http://jabber.org/protocol/muc#user}x')
- msg.append(x)
# trigger the event BEFORE looking for colors.
# This lets a plugin insert \x19xxx} colors, that will
# be converted in xhtml.