Fix build

This commit is contained in:
Niels Andriesse 2019-09-18 10:04:36 +10:00
parent a78b8a77b6
commit a8460b3aac

View File

@ -40,7 +40,7 @@ class LokiMessageDatabase(context: Context, helper: SQLCipherOpenHelper) : Datab
database.insertOrUpdate(tableName, contentValues, "${Companion.messageID} = ?", arrayOf( messageID.toString() ))
}
override fun getFriendRequestStatus(messageID: Long): LokiMessageFriendRequestStatus {
fun getFriendRequestStatus(messageID: Long): LokiMessageFriendRequestStatus {
val database = databaseHelper.readableDatabase
val result = database.get(tableName, "${Companion.messageID} = ?", arrayOf( messageID.toString() )) { cursor ->
cursor.getInt(friendRequestStatus)