Clean out dead code from contact search.

This commit is contained in:
Alex Hart
2023-01-30 12:52:27 -04:00
parent e6de06be6f
commit 691520bc75
3 changed files with 2 additions and 6 deletions

View File

@@ -362,7 +362,6 @@ open class ContactSearchAdapter(
DisplaySmsTag.IF_NOT_REGISTERED -> isNotRegistered(model)
DisplaySmsTag.NEVER -> false
}
smsTag.visible = isSmsContact(model)
}
protected open fun bindLongPress(model: T) = Unit

View File

@@ -109,10 +109,6 @@ open class ContactSearchPagedDataSourceRepository(
return GroupsInCommon(groupsInCommon.size, names)
}
open fun hasGroupsInCommon(recipient: Recipient): Boolean {
return SignalDatabase.groups.getPushGroupsContainingMember(recipient.id).isNotEmpty()
}
open fun getRecipientFromGroupRecord(groupRecord: GroupRecord): Recipient {
return Recipient.resolved(groupRecord.recipientId)
}