aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-04-01 16:02:57 +0200
committerKim Alvefur <zash@zash.se>2017-04-01 16:02:57 +0200
commit31809432304bae1e1868a2872257d73e6d071123 (patch)
tree671b8bfd513bbd41f74cf8c3a6fc69fcf3ab407d
parent6abd0a8f1ad20e719151a4027c8ae5d1d8ba719c (diff)
downloadprosody-31809432304bae1e1868a2872257d73e6d071123.tar.gz
prosody-31809432304bae1e1868a2872257d73e6d071123.zip
MUC: Decrement priority muc-get-history hook to standard for core modules
-rw-r--r--plugins/muc/history.lib.lua2
1 files changed, 1 insertions, 1 deletions
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);