1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-22 06:12:05 +01:00

Update muc.md

This commit is contained in:
Benjamin JALON 2019-08-05 12:57:48 +02:00 committed by GitHub
parent 3e74d11b45
commit 1893fa7474
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -81,7 +81,7 @@ completed with default values:
MultiUserChatManager manager = MultiUserChatManager.getInstanceFor(connection); MultiUserChatManager manager = MultiUserChatManager.getInstanceFor(connection);
// Create a MultiUserChat using an XMPPConnection for a room // Create a MultiUserChat using an XMPPConnection for a room
MultiUserChat muc = = manager.getMultiUserChat(mucJid); MultiUserChat muc = manager.getMultiUserChat(mucJid);
// Prepare a list of owners of the new room // Prepare a list of owners of the new room
Set<Jid> owners = JidUtil.jidSetFrom(new String[] { "me@example.org", "juliet@example.org" }); Set<Jid> owners = JidUtil.jidSetFrom(new String[] { "me@example.org", "juliet@example.org" });