mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-23 01:12:17 -05:00
Bugfix: Remove query from server object if closed via menu
This commit is contained in:
parent
ef2b59cf05
commit
7977660307
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user