[whiteboard] Update button state after chat control connect

This commit is contained in:
Philipp Hörist
2019-08-17 13:52:41 +02:00
parent e1c9663e3e
commit b1f042e50b

View File

@@ -102,6 +102,7 @@ class WhiteboardPlugin(GajimPlugin):
if isinstance(control, chat_control.ChatControl):
base = Base(self, control)
self.controls.append(base)
self.update_button_state(control)
@log_calls('WhiteboardPlugin')
def disconnect_from_chat_control(self, chat_control):