diff options
author | lovetox <philipp@hoerist.com> | 2020-07-06 22:30:53 +0300 |
---|---|---|
committer | lovetox <philipp@hoerist.com> | 2020-07-07 23:42:04 +0300 |
commit | 4f7c9451eb0665be8ddce01b67ebd8ddeb353944 (patch) | |
tree | d483d7b92a96bcf830a73910dc8d239eeda661a5 | |
parent | da6867bc78e6cee7f80ec1ab6c61056566ceccf3 (diff) |
MUC: Return message id on invite()
-rw-r--r-- | nbxmpp/modules/muc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nbxmpp/modules/muc.py b/nbxmpp/modules/muc.py index b417339..17c24d4 100644 --- a/nbxmpp/modules/muc.py +++ b/nbxmpp/modules/muc.py @@ -492,7 +492,7 @@ class MUC(BaseModule): else: invite = self._build_mediated_invite( room, to, reason, password, continue_) - self._client.send_stanza(invite) + return self._client.send_stanza(invite) @staticmethod def _build_direct_invite(room, to, reason, password, continue_): |