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:
Derek DeMoro
2007-02-20 00:50:57 +00:00
committed by derek
parent 0784062f23
commit 849b3de8de

View File

@ -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();