diff options
-rw-r--r-- | poezio/tabs/muctab.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/poezio/tabs/muctab.py b/poezio/tabs/muctab.py index 38871fc5..c7d7d621 100644 --- a/poezio/tabs/muctab.py +++ b/poezio/tabs/muctab.py @@ -1366,13 +1366,13 @@ class MucTab(ChatTab): ########################## COMMANDS #################################### @command_args_parser.quoted(1, 1, ['']) - def command_invite(self, args: List[str]) -> None: + async def command_invite(self, args: List[str]) -> None: """/invite <jid> [reason]""" if args is None: self.core.command.help('invite') return jid, reason = args - self.core.command.invite('%s %s "%s"' % (jid, self.jid.bare, reason)) + await self.core.command.invite('%s %s "%s"' % (jid, self.jid.bare, reason)) @command_args_parser.quoted(1) def command_info(self, args: List[str]) -> None: |