plugin XEP-0085: fixed bad return value for sendMessage trigger's post treatment
This commit is contained in:
parent
be66155439
commit
9a7433803b
1 changed files with 1 additions and 1 deletions
|
|
@ -177,7 +177,7 @@ class XEP_0085(object):
|
|||
message = mess_data['xml']
|
||||
to_jid = JID(message.getAttribute("to"))
|
||||
if not self.__checkActivation(to_jid, forceEntityData=True, profile=profile):
|
||||
return True
|
||||
return mess_data
|
||||
try:
|
||||
# message with a body always mean active state
|
||||
domish.generateElementsNamed(message.elements(), name="body").next()
|
||||
|
|
|
|||
Loading…
Reference in a new issue