How to accept invitation in MUC?
问题 I am developing chat application with xmpp. I have created group using MUC and sent invitation to other user. but i don't know how to accept and decline invitation. here is my code to send invitation : EntityBareJid userInviteJID = JidCreate.entityBareFrom("user2@servicename"); muc2.invite(userInviteJID, "Meet me in this excellent room"); I have tried MultiUserChat.decline(conn, room, inviter.asBareJid()s, "I'm busy right now"); method inside invitationReceived() method. but the problem is