mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 04:28:35 +00:00
Remove unused method from RecipientTable.
This commit is contained in:
committed by
Cody Henthorne
parent
887c173d8f
commit
7ed77a00df
@@ -2137,13 +2137,6 @@ open class RecipientTable(context: Context, databaseHelper: SignalDatabase) : Da
|
|||||||
updateExtras(id) { it.lastStoryView(System.currentTimeMillis()) }
|
updateExtras(id) { it.lastStoryView(System.currentTimeMillis()) }
|
||||||
}
|
}
|
||||||
|
|
||||||
fun clearUsernameIfExists(username: String) {
|
|
||||||
val existingUsername = getByUsername(username)
|
|
||||||
if (existingUsername.isPresent) {
|
|
||||||
setUsername(existingUsername.get(), null)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
fun getAllE164s(): Set<String> {
|
fun getAllE164s(): Set<String> {
|
||||||
val results: MutableSet<String> = HashSet()
|
val results: MutableSet<String> = HashSet()
|
||||||
readableDatabase.query(TABLE_NAME, arrayOf(E164), null, null, null, null, null).use { cursor ->
|
readableDatabase.query(TABLE_NAME, arrayOf(E164), null, null, null, null, null).use { cursor ->
|
||||||
|
|||||||
Reference in New Issue
Block a user