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

Merge pull request #339 from bjalon/patch-5

Update muc.md
This commit is contained in:
Florian Schmaus 2019-08-22 15:16:58 +02:00 committed by GitHub
commit 9f0420be4f
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" });