mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
parent
03a5483791
commit
ea11f3b1fd
1 changed files with 10 additions and 8 deletions
|
@ -552,6 +552,7 @@ public class SignalAccount implements Closeable {
|
|||
final var profile = profileEntry.getProfile();
|
||||
if (profile != null) {
|
||||
final var capabilities = new HashSet<Profile.Capability>();
|
||||
if (profile.getCapabilities() != null) {
|
||||
if (profile.getCapabilities().gv1Migration) {
|
||||
capabilities.add(Profile.Capability.gv1Migration);
|
||||
}
|
||||
|
@ -561,6 +562,7 @@ public class SignalAccount implements Closeable {
|
|||
if (profile.getCapabilities().storage) {
|
||||
capabilities.add(Profile.Capability.storage);
|
||||
}
|
||||
}
|
||||
final var newProfile = new Profile(profileEntry.getLastUpdateTimestamp(),
|
||||
profile.getGivenName(),
|
||||
profile.getFamilyName(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue