From 31809432304bae1e1868a2872257d73e6d071123 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 1 Apr 2017 16:02:57 +0200 Subject: MUC: Decrement priority muc-get-history hook to standard for core modules --- plugins/muc/history.lib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') diff --git a/plugins/muc/history.lib.lua b/plugins/muc/history.lib.lua index 437056ef..487aebc6 100644 --- a/plugins/muc/history.lib.lua +++ b/plugins/muc/history.lib.lua @@ -114,7 +114,7 @@ module:hook("muc-get-history", function(event) return msg; end return true; -end); +end, -1); local function send_history(room, stanza) local maxchars, maxstanzas, since = parse_history(stanza); -- cgit v1.2.3