changeset 4741 | 2bc5a0c0d8c3 |
parent 4739 | 58a20d5ac6e9 |
child 4749 | d29a295cd165 |
--- a/mod_rest/mod_rest.lua Wed Nov 03 13:47:34 2021 +0100 +++ b/mod_rest/mod_rest.lua Wed Nov 03 20:15:14 2021 +0100 @@ -73,7 +73,6 @@ local function compat_preevents(origin, stanza) --> boolean : handled local to = stanza.attr.to; local node, host, resource = jid.split(to); - local to_bare = node and (node .. "@" .. host) or host; -- bare JID local to_type, to_self; if node then