diff --git a/resources/prosody-plugins/poltergeist.lib.lua b/resources/prosody-plugins/poltergeist.lib.lua index c1564aea6..d64e3f30d 100644 --- a/resources/prosody-plugins/poltergeist.lib.lua +++ b/resources/prosody-plugins/poltergeist.lib.lua @@ -253,7 +253,7 @@ local function remove(room, nick, ignore) leave_presence.attr.type = "unavailable" if (ignore) then - set_ignored(room, nick) + set_ignored(room.jid.."/"..nick) end remove_username(room, nick)