Commit 6a2c4a61 authored by mathieui's avatar mathieui

Fix #3182 (/xhtml should send message with type=chat)

parent 12ef4f0e
......@@ -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:
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