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


Commits:
8854d0ac by Emmanuel Gil Peyrot at 2022-02-18T09:33:25+01:00
CommonContact: Never support Jingle unless overriden

cd40d79f637166eab82aa5df133532a50f78564c introduced a new
is_jingle_available property, but it was only enabled on BareContact.
GroupchatParticipant was thus left without this property, raising an
issue when opening a private chat.

Fixes opening private messages, thanks Darkseid for the report!

- - - - -


1 changed file:

- gajim/common/modules/contacts.py


Changes:

=====================================
gajim/common/modules/contacts.py
=====================================
@@ -215,6 +215,10 @@ def is_groupchat(self) -> bool:
     def is_pm_contact(self) -> bool:
         return False
 
+    @property
+    def is_jingle_available(self) -> bool:
+        return False
+
     def get_address(self, _prefer_real: bool = True) -> JID:
         return self._jid
 



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/8854d0ac1415e077bf0bcf67eb9d2181095d3923

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/8854d0ac1415e077bf0bcf67eb9d2181095d3923
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