projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bda149
)
MUC: Fixed an issue with multi-session nicks where the 'from' attribute in a presence...
author
Waqas Hussain
<waqas20@gmail.com>
Sat, 24 Oct 2009 23:19:24 +0000
(
04:19
+0500)
committer
Waqas Hussain
<waqas20@gmail.com>
Sat, 24 Oct 2009 23:19:24 +0000
(
04:19
+0500)
plugins/muc/muc.lib.lua
patch
|
blob
|
history
diff --git
a/plugins/muc/muc.lib.lua
b/plugins/muc/muc.lib.lua
index 7a635e8ecd92f2c1a96726c3b1ca73aaf8e3db88..251d6d1f917e38a93cba63d74f44bfea0c224f63 100644
(file)
--- a/
plugins/muc/muc.lib.lua
+++ b/
plugins/muc/muc.lib.lua
@@
-239,6
+239,7
@@
function room_mt:handle_to_occupant(origin, stanza) -- PM, vCards, etc
pr = st.clone(occupant.sessions[new_jid])
:tag("x", {xmlns='http://jabber.org/protocol/muc#user'})
:tag("item", {affiliation=occupant.affiliation, role=occupant.role});
+ pr.attr.from = current_nick;
self:broadcast_except_nick(pr, current_nick);
end
else