powered by Jive Software

Invite multiple user in room at the same time

Is there any way to invite all members of room at the same time when creating room?

Right now I am inviting user in loop, which I dont want to

for (String contact : contacts) {
                    chatRoom.invite(JidCreate.entityBareFrom(contact), reason);
}

Smack version: 4.4.2