mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-12-03 06:12:16 -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()
|
||||
);
|
||||
|
||||
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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user