From 8f0b93e738a6df64a7eb70766ff31873c880d436 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Fri, 20 Feb 2009 03:52:04 +0500 Subject: MUC: Workaround for a Gajim bug (it includes in nick change presences) --- plugins/mod_muc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/mod_muc.lua') 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; -- cgit v1.2.3