Philipp Hörist pushed to branch master at gajim / gajim
Commits: 3ac1fd52 by lovetox at 2021-01-12T23:32:10+01:00 Profile: Correctly handle not existing vcard
- - - - -
1 changed file:
- gajim/gtk/profile.py
Changes:
===================================== gajim/gtk/profile.py ===================================== @@ -140,6 +140,9 @@ def _on_vcard_received(self, task): log.info('Error loading VCard: %s', error) self._current_vcard = VCard()
+ if self._current_vcard is None: + self._current_vcard = VCard() + self._load_avatar() self._vcard_grid.set_vcard(self._current_vcard.copy()) self._ui.profile_stack.set_visible_child_name('profile')
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/3ac1fd526695d56753027b3b17a427c60...