Kick function

Hi,

I cannot find a way to make this function work.

I use : muc.kickParticipant(user); but the user is not kicked from the room. In openfire, i can see that the number of participants in the chatroom haven’'t changed.

In addition, the UserStatusListener’'s banned method is not fired on the kicked user chat.

Any idea why this is not working ?

Thx

Hum, seems like i was doing something wrong, the UserStatusListener is working, but the parameters “actor” is sent empty it seems.

I’'m having the same problem with the banUser method.

In both cases, the kicked/banned user is not removed from the chatroom :confused: