mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Fetch profiles whenever conversations are opened
For a group, fetch everyone's profile. // FREEBIE
This commit is contained in:
@@ -255,13 +255,7 @@ MessageSender.prototype = {
|
||||
},
|
||||
|
||||
getProfile: function(number) {
|
||||
return this.server.getProfile(number).then(function(profile) {
|
||||
var identityKey = dcodeIO.ByteBuffer.wrap(profile.identityKey).toArrayBuffer();
|
||||
|
||||
return textsecure.storage.protocol.isTrusted(number, identityKey).then(function(trusted) {
|
||||
|
||||
});
|
||||
});
|
||||
return this.server.getProfile(number);
|
||||
},
|
||||
|
||||
sendRequestGroupSyncMessage: function() {
|
||||
|
||||
Reference in New Issue
Block a user