1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-23 09:22:19 -05:00

AddServerActivity: Add commands to server object on update/save

This commit is contained in:
Sebastian Kaspari 2010-04-25 12:34:08 +02:00
parent 39824aeb00
commit 84fdcd8249

View File

@ -219,6 +219,7 @@ public class AddServerActivity extends Activity implements OnClickListener
server.setId((int) serverId); server.setId((int) serverId);
server.setIdentity(identity); server.setIdentity(identity);
server.setAutoJoinChannels(channels); server.setAutoJoinChannels(channels);
server.setConnectCommands(commands);
Yaaic.getInstance().addServer(server); Yaaic.getInstance().addServer(server);
} }
@ -262,6 +263,7 @@ public class AddServerActivity extends Activity implements OnClickListener
server.setId(this.server.getId()); server.setId(this.server.getId());
server.setIdentity(identity); server.setIdentity(identity);
server.setAutoJoinChannels(channels); server.setAutoJoinChannels(channels);
server.setConnectCommands(commands);
Yaaic.getInstance().updateServer(server); Yaaic.getInstance().updateServer(server);
} }