mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Fix storing received profile keys
This commit is contained in:
parent
a6562b3b7b
commit
67f6378f7f
1 changed files with 1 additions and 0 deletions
|
@ -1236,6 +1236,7 @@ public class Manager implements Signal {
|
|||
contact.number = source;
|
||||
}
|
||||
contact.profileKey = Base64.encodeBytes(message.getProfileKey().get());
|
||||
account.getContactStore().updateContact(contact);
|
||||
}
|
||||
if (message.getPreviews().isPresent()) {
|
||||
final List<SignalServiceDataMessage.Preview> previews = message.getPreviews().get();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue