mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-22 10:37:59 +01:00
Add MultiUserChat.getXmppConnection()
This commit is contained in:
parent
cb97b5032c
commit
ccf2b8bcf8
1 changed files with 10 additions and 0 deletions
|
@ -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
|
||||
public String toString() {
|
||||
return "MUC: " + room + "(" + connection.getUser() + ")";
|
||||
|
|
Loading…
Reference in a new issue