mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-26 19:02:17 -05:00
Merged patch of tkn
This commit is contained in:
parent
c866d7ef3e
commit
f0aabcde8b
@ -245,12 +245,8 @@ public class ConversationActivity extends Activity implements ServiceConnection,
|
||||
if (conversationToClose.getType() == Conversation.TYPE_CHANNEL) {
|
||||
binder.getService().getConnection(serverId).partChannel(conversationToClose.getName());
|
||||
}
|
||||
if (conversationToClose.getType() != Conversation.TYPE_SERVER) {
|
||||
if (conversationToClose.getType() == Conversation.TYPE_CHANNEL) {
|
||||
binder.getService().getConnection(server.getId()).partChannel(conversationToClose.getName());
|
||||
} else {
|
||||
else if (conversationToClose.getType() == Conversation.TYPE_QUERY) {
|
||||
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