mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-12-04 06:42:22 -05:00
AddServerActivity: Use correct server id to save channels
This commit is contained in:
parent
b49015a398
commit
d5b5b7b7b5
@ -191,7 +191,7 @@ public class AddServerActivity extends Activity implements OnClickListener
|
|||||||
server.getCharset()
|
server.getCharset()
|
||||||
);
|
);
|
||||||
|
|
||||||
db.setChannels(server.getId(), channels);
|
db.setChannels((int) serverId, channels);
|
||||||
|
|
||||||
db.close();
|
db.close();
|
||||||
|
|
||||||
@ -232,7 +232,7 @@ public class AddServerActivity extends Activity implements OnClickListener
|
|||||||
identity.getNickname()
|
identity.getNickname()
|
||||||
);
|
);
|
||||||
|
|
||||||
db.setChannels(server.getId(), channels);
|
db.setChannels(serverId, channels);
|
||||||
|
|
||||||
db.close();
|
db.close();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user