mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-26 00:02:06 +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