Add MultiUserChat.getXmppConnection()

This commit is contained in:
Florian Schmaus 2018-05-31 18:37:08 +02:00
parent cb97b5032c
commit ccf2b8bcf8
1 changed files with 10 additions and 0 deletions

View File

@ -2442,6 +2442,16 @@ public class MultiUserChat {
} }
} }
/**
* Get the XMPP connection associated with this chat instance.
*
* @return the associated XMPP connection.
* @since 4.3.0
*/
public XMPPConnection getXmppConnection() {
return connection;
}
@Override @Override
public String toString() { public String toString() {
return "MUC: " + room + "(" + connection.getUser() + ")"; return "MUC: " + room + "(" + connection.getUser() + ")";