mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Reduce usage of deprecated resolved methods
This commit is contained in:
parent
5427fa0132
commit
3357945a5a
2 changed files with 22 additions and 32 deletions
|
@ -414,7 +414,7 @@ public class DbusSignalImpl implements Signal {
|
|||
final var address = m.resolveSignalServiceAddress(recipientId);
|
||||
var number = address.getNumber().orNull();
|
||||
if (number != null) {
|
||||
var profile = m.getRecipientProfile(address);
|
||||
var profile = m.getRecipientProfile(recipientId);
|
||||
if (profile != null && profile.getDisplayName().equals(name)) {
|
||||
numbers.add(number);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue