Comparison

mod_debug_omemo/mod_debug_omemo.lua @ 4685:07b6f444bafb

mod_debug_omemo: Adjust priority to act after mod_mam archived
author Kim Alvefur <zash@zash.se>
date Mon, 13 Sep 2021 21:45:20 +0200
parent 4682:e4e5474420e6
child 4686:76af816739f3
comparison
equal deleted inserted replaced
4684:ffddf9b29463 4685:07b6f444bafb
210 else 210 else
211 body:text("\n\nOMEMO debug information: "..debug_url); 211 body:text("\n\nOMEMO debug information: "..debug_url);
212 end 212 end
213 end 213 end
214 214
215 module:hook("message/bare", check_omemo_fallback, 1); 215 module:hook("message/bare", check_omemo_fallback, -0.5);
216 module:hook("message/full", check_omemo_fallback, 1); 216 module:hook("message/full", check_omemo_fallback, -0.5);
217 217
218 module:depends("http") 218 module:depends("http")
219 module:provides("http", { 219 module:provides("http", {
220 route = { 220 route = {
221 ["GET /view/*"] = render_message; 221 ["GET /view/*"] = render_message;