Mercurial > libervia-backend
diff src/plugins/plugin_xep_0085.py @ 724:6edd9bda4e3f
plugin XEP-0085: fixed bad return value for sendMessage trigger's post treatment
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 03 Dec 2013 13:09:49 +0100 |
parents | d731ae066158 |
children | bfabeedbf32e |
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0085.py Sun Dec 01 17:28:30 2013 +0100 +++ b/src/plugins/plugin_xep_0085.py Tue Dec 03 13:09:49 2013 +0100 @@ -177,7 +177,7 @@ 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()