mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
mod_presence: Fix variable name
This commit is contained in:
parent
0c4b70fe8f
commit
6ff1b30f47
1 changed files with 1 additions and 1 deletions
|
@ -364,7 +364,7 @@ module:hook("roster-item-removed", function (event)
|
|||
local roster = event.roster or session and session.roster;
|
||||
local jid = event.jid;
|
||||
local item = event.item;
|
||||
local from_jid = origin.full_jid or (username .. "@" .. module.host);
|
||||
local from_jid = session.full_jid or (username .. "@" .. module.host);
|
||||
|
||||
local subscription = item and item.subscription or "none";
|
||||
local ask = item and item.ask;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue