1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-22 17:02:21 -05:00

AddServerActivity: Use correct server id to save channels

This commit is contained in:
Sebastian Kaspari 2010-04-25 11:17:44 +02:00
parent b49015a398
commit d5b5b7b7b5

View File

@ -191,7 +191,7 @@ public class AddServerActivity extends Activity implements OnClickListener
server.getCharset()
);
db.setChannels(server.getId(), channels);
db.setChannels((int) serverId, channels);
db.close();
@ -232,7 +232,7 @@ public class AddServerActivity extends Activity implements OnClickListener
identity.getNickname()
);
db.setChannels(server.getId(), channels);
db.setChannels(serverId, channels);
db.close();