projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
897c9a8
)
mod_presence: Fix variable name
author
Kim Alvefur
<zash@zash.se>
Fri, 8 Apr 2016 15:14:58 +0000
(17:14 +0200)
committer
Kim Alvefur
<zash@zash.se>
Fri, 8 Apr 2016 15:14:58 +0000
(17:14 +0200)
plugins/mod_presence.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_presence.lua
b/plugins/mod_presence.lua
index 258c5ea475f556bd3712ac264b6822baa59c6c70..5e1eb404334f25fed64eec7dbfb12b04d59fcb96 100644
(file)
--- a/
plugins/mod_presence.lua
+++ b/
plugins/mod_presence.lua
@@
-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 =
origi
n.full_jid or (username .. "@" .. module.host);
+ local from_jid =
sessio
n.full_jid or (username .. "@" .. module.host);
local subscription = item and item.subscription or "none";
local ask = item and item.ask;