Philipp Hörist pushed to branch master at gajim / gajim
Commits:
734ef1da by lovetox at 2022-01-10T14:18:26+01:00
Contacts: Return always BareContact for get_real_contact()
- - - - -
1 changed file:
- gajim/common/modules/contacts.py
Changes:
=====================================
gajim/common/modules/contacts.py
=====================================
@@ -659,7 +659,8 @@ def get_real_contact(self) -> Optional[BareContact]:
jid = self._presence.real_jid
if jid is None:
return None
- return self._client.get_module('Contacts').get_contact(jid)
+ return self._client.get_module('Contacts').get_contact(
+ jid.new_as_bare())
@property
def affiliation(self) -> Affiliation:
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/734ef1da0cc1f3ed99a15c10d9b891d2c621513c
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/734ef1da0cc1f3ed99a15c10d9b891d2c621513c
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