summaryrefslogtreecommitdiff
path: root/src/tabs/basetabs.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2016-04-09 21:53:11 +0200
committermathieui <mathieui@mathieui.net>2016-04-09 21:53:11 +0200
commit6a2c4a61c407a76422d97e1667091acb06c683eb (patch)
tree2a8fe170974c62b5817b2869f4022d9f1700155c /src/tabs/basetabs.py
parent12ef4f0e0e670871d954130e07a3861a5e990d59 (diff)
downloadpoezio-6a2c4a61c407a76422d97e1667091acb06c683eb.tar.gz
poezio-6a2c4a61c407a76422d97e1667091acb06c683eb.tar.bz2
poezio-6a2c4a61c407a76422d97e1667091acb06c683eb.tar.xz
poezio-6a2c4a61c407a76422d97e1667091acb06c683eb.zip
Fix #3182 (/xhtml should send message with type=chat)
Diffstat (limited to 'src/tabs/basetabs.py')
-rw-r--r--src/tabs/basetabs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tabs/basetabs.py b/src/tabs/basetabs.py
index 7e122985..618a3064 100644
--- a/src/tabs/basetabs.py
+++ b/src/tabs/basetabs.py
@@ -763,6 +763,7 @@ class OneToOneTab(ChatTab):
def command_xhtml(self, xhtml_data):
message = self.generate_xhtml_message(xhtml_data)
if message:
+ message['type'] = 'chat'
if self.remote_supports_receipts:
message._add_receipt = True
if self.remote_wants_chatstates: