# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1491055377 -7200
# Node ID c2e7dfd87abb25c0c33f4af7da26394d5d391a2b
# Parent  f237d0155e598d661afd0a169361446f028c1e6e
MUC: Decrement priority muc-get-history hook to standard for core modules

diff -r f237d0155e59 -r c2e7dfd87abb plugins/muc/history.lib.lua
--- a/plugins/muc/history.lib.lua	Fri Mar 31 19:01:42 2017 +0200
+++ b/plugins/muc/history.lib.lua	Sat Apr 01 16:02:57 2017 +0200
@@ -114,7 +114,7 @@
 		return msg;
 	end
 	return true;
-end);
+end, -1);
 
 local function send_history(room, stanza)
 	local maxchars, maxstanzas, since = parse_history(stanza);