From 9a7433803b9ba9141fb9e6b82090f41596c6dc36 Mon Sep 17 00:00:00 2001 From: Goffi Date: Tue, 3 Dec 2013 13:09:49 +0100 Subject: [PATCH] plugin XEP-0085: fixed bad return value for sendMessage trigger's post treatment --- src/plugins/plugin_xep_0085.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/plugin_xep_0085.py b/src/plugins/plugin_xep_0085.py index b702c106..5c9115a3 100755 --- a/src/plugins/plugin_xep_0085.py +++ b/src/plugins/plugin_xep_0085.py @@ -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()