androidxmppopenfireasmack

Multi User Chat room join with owner privilege android + asmack


Multi User Chat Room Join

How to join a multi user chat room as "owner" in android?. Currently I am joining the multi user chat room using the following code. However I am joining as a participant only.

MultiUserChat muc = new MultiUserChat(connection, group);
muc.join(nickNameOfUser, password);

Solution

  • MUC members/owners list maintained on the MUC server side, and automatically grant you owner privileges on create/join room. If you not receive owner privileges, then room was created by someone else.