mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-01-09 12:48:00 -05:00
Database: Load auto join servers on populating server object
This commit is contained in:
parent
622814a484
commit
db7980738e
@ -315,6 +315,10 @@ public class Database extends SQLiteOpenHelper
|
||||
Identity identity = this.getIdentityById(cursor.getInt(cursor.getColumnIndex(ServerConstants.IDENTITY)));
|
||||
server.setIdentity(identity);
|
||||
|
||||
// Load auto join channels
|
||||
ArrayList<String> channels = this.getChannelsByServerId(server.getId());
|
||||
server.setAutoJoinChannels(channels);
|
||||
|
||||
return server;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user