Comparison

plugins/muc/history.lib.lua @ 8027:c2e7dfd87abb

MUC: Decrement priority muc-get-history hook to standard for core modules
author Kim Alvefur <zash@zash.se>
date Sat, 01 Apr 2017 16:02:57 +0200
parent 7401:e16b3fd0bd80
child 8028:adfc7f3b29ce
comparison
equal deleted inserted replaced
8026:f237d0155e59 8027:c2e7dfd87abb
112 msg.attr.to = to; 112 msg.attr.to = to;
113 i = i + 1; 113 i = i + 1;
114 return msg; 114 return msg;
115 end 115 end
116 return true; 116 return true;
117 end); 117 end, -1);
118 118
119 local function send_history(room, stanza) 119 local function send_history(room, stanza)
120 local maxchars, maxstanzas, since = parse_history(stanza); 120 local maxchars, maxstanzas, since = parse_history(stanza);
121 local event = { 121 local event = {
122 room = room; 122 room = room;