Changeset

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
parents 4684:ffddf9b29463
children 4686:76af816739f3
files mod_debug_omemo/mod_debug_omemo.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mod_debug_omemo/mod_debug_omemo.lua	Mon Sep 13 19:29:03 2021 +0100
+++ b/mod_debug_omemo/mod_debug_omemo.lua	Mon Sep 13 21:45:20 2021 +0200
@@ -212,8 +212,8 @@
 	end
 end
 
-module:hook("message/bare", check_omemo_fallback, 1);
-module:hook("message/full", check_omemo_fallback, 1);
+module:hook("message/bare", check_omemo_fallback, -0.5);
+module:hook("message/full", check_omemo_fallback, -0.5);
 
 module:depends("http")
 module:provides("http", {