mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-23 11:15:44 +00:00
Clean out dead code from contact search.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user