mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-01-10 05:08:18 -05:00
Database: populateServer() sets SSL usage
This commit is contained in:
parent
15863cabd1
commit
d8386ba3cd
@ -280,6 +280,7 @@ public class Database extends SQLiteOpenHelper
|
|||||||
server.setPassword(cursor.getString(cursor.getColumnIndex(ServerConstants.PASSWORD)));
|
server.setPassword(cursor.getString(cursor.getColumnIndex(ServerConstants.PASSWORD)));
|
||||||
server.setId(cursor.getInt(cursor.getColumnIndex((ServerConstants._ID))));
|
server.setId(cursor.getInt(cursor.getColumnIndex((ServerConstants._ID))));
|
||||||
server.setCharset(cursor.getString(cursor.getColumnIndex(ServerConstants.CHARSET)));
|
server.setCharset(cursor.getString(cursor.getColumnIndex(ServerConstants.CHARSET)));
|
||||||
|
server.setUseSSL(Boolean.parseBoolean(cursor.getString(cursor.getColumnIndex(ServerConstants.USE_SSL))));
|
||||||
server.setStatus(Status.DISCONNECTED);
|
server.setStatus(Status.DISCONNECTED);
|
||||||
|
|
||||||
// Load identity for server
|
// Load identity for server
|
||||||
|
Loading…
Reference in New Issue
Block a user