forked from upstream-mirrors/quik
#1107 - Fixed message history not showing up after first sync
This commit is contained in:
@@ -95,7 +95,7 @@ class SyncRepositoryImpl @Inject constructor(
|
||||
realm.delete(SyncLog::class.java)
|
||||
}
|
||||
|
||||
val lastSync = realm.where(Message::class.java)?.max("date")?.toLong() ?: 0
|
||||
val lastSync = realm.where(SyncLog::class.java)?.max("date")?.toLong() ?: 0
|
||||
realm.insert(SyncLog())
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user