Daniel Brötzmann pushed to branch master at gajim / gajim


Commits:
e551b33e by wurstsalat at 2022-03-02T20:31:20+01:00
ContactInfo: Only show Notes page if private storage is available

Fixes #10773

- - - - -


1 changed file:

- gajim/gtk/contact_info.py


Changes:

=====================================
gajim/gtk/contact_info.py
=====================================
@@ -185,7 +185,8 @@ def _fill_note_page(self, contact: BareContact) -> None:
         if note is not None:
             self._ui.textview_annotation.get_buffer().set_text(note.data)
 
-        self._switcher.set_row_visible('notes', True)
+        if app.account_supports_private_storage(self.account):
+            self._switcher.set_row_visible('notes', True)
 
     def _fill_settings_page(self, contact: BareContact) -> None:
         if not contact.is_in_roster:



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

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