mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-05 13:40:38 +00:00
some small dbus return code fixes
This commit is contained in:
parent
253757cb31
commit
b94210eed4
3 changed files with 6 additions and 3 deletions
|
@ -2365,9 +2365,9 @@ public class Manager implements Closeable {
|
|||
|
||||
final var profileEntry = account.getProfileStore().getProfileEntry(address);
|
||||
if (profileEntry != null && profileEntry.getProfile() != null) {
|
||||
return profileEntry.getProfile().getDisplayName();
|
||||
String name = profileEntry.getProfile().getDisplayName();
|
||||
return name==null?"":name;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue