From 6bf949890488768ba7ebaf9500bcbc9afc8dd449 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Mon, 19 Jan 2015 08:38:11 +0100 Subject: [PATCH] Add note about getMultiUserChat in MUC's javadoc --- .../java/org/jivesoftware/smackx/muc/MultiUserChat.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MultiUserChat.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MultiUserChat.java index a76177afe..3dd70af52 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MultiUserChat.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/muc/MultiUserChat.java @@ -71,15 +71,18 @@ import org.jivesoftware.smackx.xdata.FormField; import org.jivesoftware.smackx.xdata.packet.DataForm; /** + * A MultiUserChat room (XEP-45), created with {@link MultiUserChatManager#getMultiUserChat(String)}. + *

* A MultiUserChat is a conversation that takes place among many users in a virtual * room. A room could have many occupants with different affiliation and roles. * Possible affiliations are "owner", "admin", "member", and "outcast". Possible roles * are "moderator", "participant", and "visitor". Each role and affiliation guarantees * different privileges (e.g. Send messages to all occupants, Kick participants and visitors, * Grant voice, Edit member list, etc.). + *

*

- * Note: Make sure to leave the MUC ({@link #leave()}) before you drop the reference to - * it, or otherwise you may leak the instance. + * Note: Make sure to leave the MUC ({@link #leave()}) when you don't need it anymore or + * otherwise you may leak the instance. *

* * @author Gaston Dombiak, Larry Kirschner