mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-14 21:15:04 -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());
|
binder.getService().getConnection(serverId).partChannel(conversationToClose.getName());
|
||||||
}
|
}
|
||||||
else if (conversationToClose.getType() == Conversation.TYPE_QUERY) {
|
else if (conversationToClose.getType() == Conversation.TYPE_QUERY) {
|
||||||
|
server.removeConversation(conversationToClose.getName());
|
||||||
onRemoveConversation(conversationToClose.getName());
|
onRemoveConversation(conversationToClose.getName());
|
||||||
} else {
|
} else {
|
||||||
Toast.makeText(this, "You can not close the server info window", Toast.LENGTH_SHORT).show();
|
Toast.makeText(this, "You can not close the server info window", Toast.LENGTH_SHORT).show();
|
||||||
|
Loading…
Reference in New Issue
Block a user