mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-03 21:12:20 +00:00
Fix missing message ID & update for core changes
This commit is contained in:
@@ -83,7 +83,8 @@ class LokiAPIDatabase(context: Context, helper: SQLCipherOpenHelper) : Database(
|
||||
return TextSecurePreferences.getProfileName(context)
|
||||
}
|
||||
|
||||
override fun setMessageID(signalID: Long, lokiID: Long) {
|
||||
override fun updateMessageIDIfNeeded(signalID: Long, lokiID: Long) {
|
||||
if (signalID == lokiID) return
|
||||
DatabaseFactory.getMmsDatabase(context).updateMessageID(signalID, lokiID)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user