mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
Update logout with reason.
git-svn-id: http://svn.igniterealtime.org/svn/repos/spark/trunk@7212 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
@ -281,6 +281,8 @@ public final class MainWindow extends ChatFrame implements ActionListener {
|
||||
|
||||
/**
|
||||
* Closes the current connection and restarts Spark.
|
||||
*
|
||||
* @param reason the reason for logging out. This can be if user gave no reason.
|
||||
*/
|
||||
private void closeConnectionAndInvoke(String reason) {
|
||||
final XMPPConnection con = SparkManager.getConnection();
|
||||
|
||||
Reference in New Issue
Block a user