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

Commits:

1 changed file:

Changes:

  • gajim/gtk/profile.py
    ... ... @@ -140,6 +140,9 @@ def _on_vcard_received(self, task):
    140 140
                 log.info('Error loading VCard: %s', error)
    
    141 141
                 self._current_vcard = VCard()
    
    142 142
     
    
    143
    +        if self._current_vcard is None:
    
    144
    +            self._current_vcard = VCard()
    
    145
    +
    
    143 146
             self._load_avatar()
    
    144 147
             self._vcard_grid.set_vcard(self._current_vcard.copy())
    
    145 148
             self._ui.profile_stack.set_visible_child_name('profile')