mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 20:48:43 +00:00
Add whoami check for receipt_credentials.
This commit is contained in:
committed by
Greyson Parrelli
parent
0dbab7ede0
commit
23f90e070e
@@ -61,11 +61,11 @@ object MockProvider {
|
||||
}
|
||||
|
||||
fun createWhoAmIResponse(aci: ServiceId, pni: ServiceId, e164: String): WhoAmIResponse {
|
||||
return WhoAmIResponse().apply {
|
||||
this.uuid = aci.toString()
|
||||
this.pni = pni.toString()
|
||||
this.number = e164
|
||||
}
|
||||
return WhoAmIResponse(
|
||||
aci = aci.toString(),
|
||||
pni = pni.toString(),
|
||||
number = e164
|
||||
)
|
||||
}
|
||||
|
||||
fun createPreKeyResponse(identity: IdentityKeyPair = SignalStore.account.aciIdentityKey, deviceId: Int): PreKeyResponse {
|
||||
|
||||
Reference in New Issue
Block a user