mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_roster: Remove unused variable
This commit is contained in:
parent
91cc88b338
commit
1faf33dfd5
1 changed files with 0 additions and 1 deletions
|
@ -69,7 +69,6 @@ module:hook("iq/self/jabber:iq:roster:query", function(event)
|
|||
and query.tags[1].attr.jid ~= "pending" then
|
||||
local item = query.tags[1];
|
||||
local from_node, from_host = jid_split(stanza.attr.from);
|
||||
local from_bare = from_node and (from_node.."@"..from_host) or from_host; -- bare JID
|
||||
local jid = jid_prep(item.attr.jid);
|
||||
local node, host, resource = jid_split(jid);
|
||||
if not resource and host then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue