plugin XEP-0085: fixed bad return value for sendMessage trigger's post treatment

This commit is contained in:
Goffi 2013-12-03 13:09:49 +01:00
commit 9a7433803b

View file

@ -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()