1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-22 17:02:21 -05:00

Bugfix: Remove query from server object if closed via menu

This commit is contained in:
Sebastian Kaspari 2010-04-23 20:51:17 +02:00
parent ef2b59cf05
commit 7977660307

View File

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