this is connected to the problem before so i found the bug…
after i removed the entry…
i wait 2 seconds and then prints the presence of the deleted user.
it should have printed ‘‘null’’ but it prints available.
so i guess maybe the removeEntry doenst remove the presence correctly.
because after i remove the entry i no longer see him in my roster and that’'w how it should be…
but the presence remains and it’'s not null.