Comparison

plugins/mod_muc_mam.lua @ 10834:c6e852984d48 0.11

mod_muc_mam: Remove spoofed archive IDs before archiving, fix #1552 The stanza-id added during archiving looks exactly like what should be stripped, so the stripping must happen before archiving. Getting priorities right is hard! Also no test coverage yet.
author Kim Alvefur <zash@zash.se>
date Mon, 11 May 2020 21:14:02 +0200
parent 10815:c432b7172fa3
child 10835:e402f808de50
child 10943:22b1298403ff
comparison
equal deleted inserted replaced
10816:b4c2c7fae7c0 10834:c6e852984d48
322 return nil; 322 return nil;
323 end 323 end
324 return tag; 324 return tag;
325 end); 325 end);
326 326
327 end, 0); 327 end, 1);
328 328
329 -- Handle messages 329 -- Handle messages
330 local function save_to_history(self, stanza) 330 local function save_to_history(self, stanza)
331 local room_node, room_host = jid_split(self.jid); 331 local room_node, room_host = jid_split(self.jid);
332 332