Fix storing received profile keys

This commit is contained in:
AsamK 2020-03-22 17:17:28 +01:00
parent a6562b3b7b
commit 67f6378f7f

View file

@ -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();