From 6a2c4a61c407a76422d97e1667091acb06c683eb Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 9 Apr 2016 21:53:11 +0200 Subject: Fix #3182 (/xhtml should send message with type=chat) --- src/tabs/basetabs.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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: -- cgit v1.2.3