diff options
author | Waqas Hussain <waqas20@gmail.com> | 2009-02-20 03:52:04 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2009-02-20 03:52:04 +0500 |
commit | 8f0b93e738a6df64a7eb70766ff31873c880d436 (patch) | |
tree | 9245a65dff412fc09b252a093bebd3647514ed08 | |
parent | b561d477830c46fbf4bda0b8145788c4c45ec30f (diff) | |
download | prosody-8f0b93e738a6df64a7eb70766ff31873c880d436.tar.gz prosody-8f0b93e738a6df64a7eb70766ff31873c880d436.zip |
MUC: Workaround for a Gajim bug (it includes <x xmlns='http://jabber.org/protocol/muc'/> in nick change presences)
-rw-r--r-- | plugins/mod_muc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_muc.lua b/plugins/mod_muc.lua index bae3d476..a0252dfc 100644 --- a/plugins/mod_muc.lua +++ b/plugins/mod_muc.lua @@ -258,7 +258,7 @@ function handle_to_occupant(origin, stanza) -- PM, vCards, etc end elseif not type then -- available if current_nick then - if #pr == #stanza then + if #pr == #stanza or current_nick ~= to then if current_nick == to then -- simple presence log("debug", "%s broadcasted presence", current_nick); rooms:get(room, current_nick).sessions[from] = pr; |