This commit is contained in:
Ben Iofel
2025-09-02 22:54:00 -04:00
parent 50c6e08beb
commit d3eaa4fb2e
4 changed files with 38 additions and 2 deletions
@@ -32,7 +32,7 @@ import javax.inject.Inject
class QkRealmMigration @Inject constructor( class QkRealmMigration @Inject constructor(
private val cursorToContact: CursorToContactImpl, private val cursorToContact: CursorToContactImpl,
private val prefs: Preferences, private val prefs: Preferences
) : RealmMigration { ) : RealmMigration {
companion object { companion object {
@@ -66,7 +66,7 @@ class EmojiReactionRepositoryImpl @Inject constructor(
/** /**
* Search for messages in the same thread with matching text content * Search for messages in the same thread with matching text content
* We'll search recent messages first (within reasonable time window) * We'll search recent messages first
*/ */
override fun findTargetMessage(threadId: Long, originalMessageText: String, realm: Realm): Message? { override fun findTargetMessage(threadId: Long, originalMessageText: String, realm: Realm): Message? {
val startTime = System.currentTimeMillis() val startTime = System.currentTimeMillis()
@@ -1,3 +1,21 @@
/*
* Copyright (C) 2025
*
* This file is part of QUIK.
*
* QUIK is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* QUIK is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with QUIK. If not, see <http://www.gnu.org/licenses/>.
*/
package dev.octoshrimpy.quik.model package dev.octoshrimpy.quik.model
import io.realm.RealmObject import io.realm.RealmObject
@@ -1,3 +1,21 @@
/*
* Copyright (C) 2025
*
* This file is part of QUIK.
*
* QUIK is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* QUIK is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with QUIK. If not, see <http://www.gnu.org/licenses/>.
*/
package dev.octoshrimpy.quik.repository package dev.octoshrimpy.quik.repository
import dev.octoshrimpy.quik.model.Message import dev.octoshrimpy.quik.model.Message