# HG changeset patch # User tmolitor # Date 1507686900 -7200 # Node ID 7622ec165cdddd8d166dfd9066f96ef075e34bc8 # Parent 008cf272b7ea38a38b9333a3fc0d293b92dba67a mod_cloud_notify: Remove some leftover code diff -r 008cf272b7ea -r 7622ec165cdd mod_cloud_notify/mod_cloud_notify.lua --- 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" })