Fix #3182 (/xhtml should send message with type=chat)
This commit is contained in:
parent
12ef4f0e0e
commit
6a2c4a61c4
1 changed files with 1 additions and 0 deletions
|
@ -763,6 +763,7 @@ class OneToOneTab(ChatTab):
|
||||||
def command_xhtml(self, xhtml_data):
|
def command_xhtml(self, xhtml_data):
|
||||||
message = self.generate_xhtml_message(xhtml_data)
|
message = self.generate_xhtml_message(xhtml_data)
|
||||||
if message:
|
if message:
|
||||||
|
message['type'] = 'chat'
|
||||||
if self.remote_supports_receipts:
|
if self.remote_supports_receipts:
|
||||||
message._add_receipt = True
|
message._add_receipt = True
|
||||||
if self.remote_wants_chatstates:
|
if self.remote_wants_chatstates:
|
||||||
|
|
Loading…
Reference in a new issue