Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlovetox <philipp@hoerist.com>2020-07-06 22:30:53 +0300
committerlovetox <philipp@hoerist.com>2020-07-07 23:42:04 +0300
commit4f7c9451eb0665be8ddce01b67ebd8ddeb353944 (patch)
treed483d7b92a96bcf830a73910dc8d239eeda661a5
parentda6867bc78e6cee7f80ec1ab6c61056566ceccf3 (diff)
MUC: Return message id on invite()
-rw-r--r--nbxmpp/modules/muc.py2
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_):