Update actions after affiliation/role change

This commit is contained in:
Philipp Hörist 2018-12-30 21:27:07 +01:00
parent d06b73d7c6
commit 73f3e01bdf
1 changed files with 2 additions and 0 deletions

View File

@ -1883,6 +1883,7 @@ class GroupchatControl(ChatControlBase):
self.print_conversation(message, graphics=False)
self.draw_contact(nick)
self.update_actions()
def _on_role_changed(self, event):
if event.account != self.account:
@ -1914,6 +1915,7 @@ class GroupchatControl(ChatControlBase):
self.print_conversation(message, graphics=False)
self.remove_contact(nick)
self.add_contact_to_roster(nick)
self.update_actions()
def _on_self_kicked(self, event):
if event.account != self.account: