mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-11 20:17:57 +00:00
refactor: refactor ExpirationConfigurationDatabase to return a specific db config after removing config values that are in shared lib
This commit is contained in:
@@ -2,7 +2,7 @@ package org.session.libsession.messaging.messages
|
||||
|
||||
import org.session.libsignal.protos.SignalServiceProtos.Content.ExpirationType
|
||||
|
||||
class ExpirationConfiguration(
|
||||
data class ExpirationConfiguration(
|
||||
val threadId: Long = -1,
|
||||
val durationSeconds: Int = 0,
|
||||
val expirationType: ExpirationType? = null,
|
||||
@@ -14,4 +14,9 @@ class ExpirationConfiguration(
|
||||
val isNewConfigEnabled = false /* TODO: System.currentTimeMillis() > 1_676_851_200_000 // 13/02/2023 */
|
||||
const val LAST_READ_TEST = 1673587663000L
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
data class ExpirationDatabaseConfiguration(
|
||||
val threadId: Long = -1,
|
||||
val updatedTimestampMs: Long
|
||||
)
|
Reference in New Issue
Block a user