Commit 3512e2f9 authored by Philipp Hörist's avatar Philipp Hörist

Set encryption attribute on HTTPUpload and Groupchat messages

This fixes an regression from the send message refactor
parent 975f1b3b
Pipeline #4945 passed with stages
in 4 minutes and 13 seconds
......@@ -244,7 +244,8 @@ class HTTPUpload(BaseModule):
jid=transfer.contact.jid,
message=uri,
type_=type_,
oob_url=uri)
oob_url=uri,
encryption=transfer.encryption)
self._con.send_message(message)
......
......@@ -1591,7 +1591,8 @@ class GroupchatControl(ChatControlBase):
type_='groupchat',
label=label,
chatstate=chatstate,
correct_id=correct_id)
correct_id=correct_id,
encryption=self.encryption)
message_.additional_data.set_value('gajim', 'xhtml', xhtml)
con.send_message(message_)
......
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