1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-29 17:52:06 +01:00

Add MultiUserChat.getXmppConnection()

This commit is contained in:
Florian Schmaus 2018-05-31 18:37:08 +02:00
parent cb97b5032c
commit ccf2b8bcf8

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() + ")";