Software /
code /
prosody
Comparison
plugins/mod_muc_mam.lua @ 10560:3adb6c46fbf4
mod_muc_mam: Remove unused variable [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 23 Dec 2019 23:31:09 +0100 |
parent | 10558:40c2500208f4 |
child | 10563:e8db377a2983 |
comparison
equal
deleted
inserted
replaced
10559:cfc05e46b979 | 10560:3adb6c46fbf4 |
---|---|
352 | 352 |
353 end, 0); | 353 end, 0); |
354 | 354 |
355 -- Handle messages | 355 -- Handle messages |
356 local function save_to_history(self, stanza) | 356 local function save_to_history(self, stanza) |
357 local room_node, room_host = jid_split(self.jid); | 357 local room_node = jid_split(self.jid); |
358 | 358 |
359 local stored_stanza = stanza; | 359 local stored_stanza = stanza; |
360 | 360 |
361 if stanza.name == "message" and self:get_whois() == "anyone" then | 361 if stanza.name == "message" and self:get_whois() == "anyone" then |
362 stored_stanza = st.clone(stanza); | 362 stored_stanza = st.clone(stanza); |