Do not call poezio commands when we can call methods
This commit is contained in:
parent
426dd35b94
commit
e7d8d2aaf5
1 changed files with 2 additions and 2 deletions
|
@ -1304,12 +1304,12 @@ class MucTab(ChatTab):
|
|||
"""
|
||||
/close [msg]
|
||||
"""
|
||||
self.command_part(msg)
|
||||
self.leave_room(msg)
|
||||
self.core.close_tab(self)
|
||||
|
||||
def on_close(self):
|
||||
super().on_close()
|
||||
self.command_part('')
|
||||
self.leave_room('')
|
||||
|
||||
@command_args_parser.quoted(1, 1)
|
||||
def command_query(self, args):
|
||||
|
|
Loading…
Reference in a new issue