mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
parent
fd671576a4
commit
7206b4da25
1 changed files with 2 additions and 2 deletions
|
@ -165,11 +165,11 @@ public record RecipientAddress(
|
||||||
}
|
}
|
||||||
|
|
||||||
public SignalServiceAddress toSignalServiceAddress() {
|
public SignalServiceAddress toSignalServiceAddress() {
|
||||||
return new SignalServiceAddress(aci.orElse(ACI.UNKNOWN), number);
|
return new SignalServiceAddress(serviceId().orElse(ACI.UNKNOWN), number);
|
||||||
}
|
}
|
||||||
|
|
||||||
public org.asamk.signal.manager.api.RecipientAddress toApiRecipientAddress() {
|
public org.asamk.signal.manager.api.RecipientAddress toApiRecipientAddress() {
|
||||||
return new org.asamk.signal.manager.api.RecipientAddress(aci().map(ServiceId::getRawUuid),
|
return new org.asamk.signal.manager.api.RecipientAddress(serviceId().map(ServiceId::getRawUuid),
|
||||||
number(),
|
number(),
|
||||||
username());
|
username());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue