Deaf occupant in a MultiUserChat

What must I do to become me an deaf occupant in a “MultiUserChat”?

Hi calitry,

A user can only indicate that he wants to be a deaf occupant while joining the room. It is not possible to become deaf or stop being deaf after the user joined the room.

// Sample code: User3 joins the room as a “deaf” occupant

MultiUserChat muc = new MultiUserChat(getConnection(0), room);

muc.addPresenceInterceptor(new DeafOccupantInterceptor());

muc.join(“testbot”);

/code

Regards,

Francisco

Ok, thank you!!!