Commit a8a246e8 authored by Tijmen de Mes's avatar Tijmen de Mes

Show files panel in conferences and chat

parent 55710a84
......@@ -2010,6 +2010,11 @@ class ChatWindow(base_class, ui_class, ColorHelperMixin):
def _update_panel_buttons(self):
self.info_panel_participants_button.setVisible(self.selected_session.blink_session.remote_focus)
if self.selected_session.blink_session.remote_focus:
self.info_panel_files_button.setVisible(len(self.selected_session.blink_session.server_conference.shared_files) == 0)
self.participants_panel_files_button.setVisible(len(self.selected_session.blink_session.server_conference.shared_files) == 0)
else:
self.info_panel_files_button.setVisible(True)
self.files_panel_participants_button.setVisible(self.selected_session.blink_session.remote_focus)
def _update_session_info_panel(self, elements=set(), update_visibility=False):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment