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
commit33e17c655492f02a9d0ac50299c22f4a692c5d4b (patch)
tree671b8bfd513bbd41f74cf8c3a6fc69fcf3ab407d
parent7eb36daf82fa0db2544118d950bed17b0c6faa93 (diff)
downloadprosody-33e17c655492f02a9d0ac50299c22f4a692c5d4b.tar.gz
prosody-33e17c655492f02a9d0ac50299c22f4a692c5d4b.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);