plugin text command, XEP-0045, XEP-0048, XEP-0249: removed feedBackWrongContext which is no more usefull with new _contextValid method
This commit is contained in:
parent
b2bb3ed564
commit
9443b14c59
1 changed files with 31 additions and 73 deletions
|
|
@ -171,12 +171,6 @@ class XEP_0249(object):
|
|||
@command (group): (JID)
|
||||
- JID: the JID of the person to invite
|
||||
"""
|
||||
log.debug("Catched invite command")
|
||||
|
||||
if mess_data['type'] != "groupchat":
|
||||
self.host.plugins[C.TEXT_CMDS].feedBackWrongContext('invite', 'groupchat', mess_data, profile)
|
||||
return False
|
||||
|
||||
jid_s = mess_data["unparsed"].strip()
|
||||
try:
|
||||
assert(jid_s)
|
||||
|
|
|
|||
Loading…
Reference in a new issue