--- a/mod_cloud_notify/mod_cloud_notify.lua Wed Oct 11 03:10:40 2017 +0200
+++ b/mod_cloud_notify/mod_cloud_notify.lua Wed Oct 11 03:55:00 2017 +0200
@@ -270,13 +270,6 @@
if stanza and include_body then
form_data["last-message-body"] = stanza:get_child_text("body");
end
- if stanza then
- if stanza:get_child("body") or stanza:get_child("encrypted", "eu.siacs.conversations.axolotl") then
- form_data["last-message-priority"] = "high";
- else
- form_data["last-message-priority"] = "low";
- end
- end
push_publish:add_child(push_form:form(form_data));
if stanza and push_info.include_payload == "stripped" then
push_publish:tag("payload", { type = "stripped" })