mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
mod_mam: Remove unused variables [luacheck]
Logic using full vs bare JID addressing may return in the future.
This commit is contained in:
parent
ba452d6923
commit
80aaa484c3
1 changed files with 0 additions and 4 deletions
|
@ -265,10 +265,6 @@ end
|
|||
|
||||
local function should_store(stanza) --> boolean, reason: string
|
||||
local st_type = stanza.attr.type or "normal";
|
||||
local st_to_full = (stanza.attr.to or ""):find("/");
|
||||
if st_type == "error" then
|
||||
st_to_full = (stanza.attr.from or ""):find("/");
|
||||
end
|
||||
-- FIXME pass direction of stanza and use that along with bare/full JID addressing
|
||||
-- for more accurate MUC / type=groupchat check
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue