From 79776603078f50ef0f9c25fa5cc97dcc2b0791ed Mon Sep 17 00:00:00 2001 From: Sebastian Kaspari Date: Fri, 23 Apr 2010 20:51:17 +0200 Subject: [PATCH] Bugfix: Remove query from server object if closed via menu --- src/org/yaaic/activity/ConversationActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/org/yaaic/activity/ConversationActivity.java b/src/org/yaaic/activity/ConversationActivity.java index 587dbd8..b2c9e4f 100644 --- a/src/org/yaaic/activity/ConversationActivity.java +++ b/src/org/yaaic/activity/ConversationActivity.java @@ -292,6 +292,7 @@ public class ConversationActivity extends Activity implements ServiceConnection, binder.getService().getConnection(serverId).partChannel(conversationToClose.getName()); } else if (conversationToClose.getType() == Conversation.TYPE_QUERY) { + server.removeConversation(conversationToClose.getName()); onRemoveConversation(conversationToClose.getName()); } else { Toast.makeText(this, "You can not close the server info window", Toast.LENGTH_SHORT).show();