mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-22 17:02:21 -05:00
AddServerActivity: Add commands to server object on update/save
This commit is contained in:
parent
39824aeb00
commit
84fdcd8249
@ -219,6 +219,7 @@ public class AddServerActivity extends Activity implements OnClickListener
|
||||
server.setId((int) serverId);
|
||||
server.setIdentity(identity);
|
||||
server.setAutoJoinChannels(channels);
|
||||
server.setConnectCommands(commands);
|
||||
|
||||
Yaaic.getInstance().addServer(server);
|
||||
}
|
||||
@ -262,6 +263,7 @@ public class AddServerActivity extends Activity implements OnClickListener
|
||||
server.setId(this.server.getId());
|
||||
server.setIdentity(identity);
|
||||
server.setAutoJoinChannels(channels);
|
||||
server.setConnectCommands(commands);
|
||||
|
||||
Yaaic.getInstance().updateServer(server);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user