1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-16 22:15:08 -05:00

Database: populateServer() sets SSL usage

This commit is contained in:
Sebastian Kaspari 2010-04-13 19:21:15 +02:00
parent 15863cabd1
commit d8386ba3cd

View File

@ -280,6 +280,7 @@ public class Database extends SQLiteOpenHelper
server.setPassword(cursor.getString(cursor.getColumnIndex(ServerConstants.PASSWORD)));
server.setId(cursor.getInt(cursor.getColumnIndex((ServerConstants._ID))));
server.setCharset(cursor.getString(cursor.getColumnIndex(ServerConstants.CHARSET)));
server.setUseSSL(Boolean.parseBoolean(cursor.getString(cursor.getColumnIndex(ServerConstants.USE_SSL))));
server.setStatus(Status.DISCONNECTED);
// Load identity for server