Philipp Hörist pushed to branch master at gajim / gajim


Commits:
3512e2f9 by Philipp Hörist at 2020-02-02T16:58:29+01:00
Set encryption attribute on HTTPUpload and Groupchat messages

This fixes an regression from the send message refactor

- - - - -


2 changed files:

- gajim/common/modules/httpupload.py
- gajim/groupchat_control.py


Changes:

=====================================
gajim/common/modules/httpupload.py
=====================================
@@ -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)
 


=====================================
gajim/groupchat_control.py
=====================================
@@ -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_)
 



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/3512e2f9c0ac9fe312695635fa64352f02505f67

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/3512e2f9c0ac9fe312695635fa64352f02505f67
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to