Commit 73f3e01b authored by Philipp Hörist's avatar Philipp Hörist

Update actions after affiliation/role change

parent d06b73d7
......@@ -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:
......
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