plugin XEP-0045: fix /join text command

This commit is contained in:
Goffi 2021-06-03 17:59:41 +02:00
commit 9d3f2be7b1

View file

@ -327,7 +327,7 @@ class TextCommands(object):
if arg[-1] != "@":
return jid.JID(arg)
return jid.JID(arg + service_jid)
return jid.JID("%s@%s" % (arg, service_jid))
return jid.JID(f"{arg}@{service_jid}")
def feedBack(self, client, message, mess_data, info_type=FEEDBACK_INFO_TYPE):
"""Give a message back to the user"""