plugin XEP-0045: fix /join text command
This commit is contained in:
parent
26875b8552
commit
9d3f2be7b1
1 changed files with 17 additions and 7 deletions
|
|
@ -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"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue